blob: 3e44bd17353938de7f6077263028952f234adae2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
Description: fix 'chassis bootparam .. options=no-timeout'
Author: <name and email of author, optional>
Origin: https://codeberg.org/IPMITool/ipmitool/commit/b67f400825e55bd82f609f40c9c612b4c9961e3e
Bug: https://codeberg.org/IPMITool/ipmitool/pulls/19
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1099886
Last-Update: 2025-03-21
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: trunk/lib/ipmi_chassis.c
===================================================================
--- trunk.orig/lib/ipmi_chassis.c
+++ trunk/lib/ipmi_chassis.c
@@ -1049,7 +1049,7 @@ get_bootparam_options(char *optstring,
optionError = 1;
break;
}
- if (!strcmp(token, "no-")) {
+ if (strncmp(token, "no-", 3) == 0) {
setbit = 1;
token += 3;
}
|