mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
ID: 3608763 - 'lib/ipmi_sdr.c' - fix 'nosats' -> 'nosat'
Commit fixes typo in strncmp() comparison of argv and changes 'nosats' to 'nosat'. Commit for Dan Gora
This commit is contained in:
parent
f074f76620
commit
1602e0a7a2
@ -4719,7 +4719,7 @@ ipmi_sdr_main(struct ipmi_intf *intf, int argc, char **argv)
|
||||
rc = -1;
|
||||
} else if (strncmp(argv[1], "sensors", 7) == 0) {
|
||||
rc = ipmi_sdr_add_from_sensors(intf, 21);
|
||||
} else if (strncmp(argv[1], "nosats", 6) == 0) {
|
||||
} else if (strncmp(argv[1], "nosat", 6) == 0) {
|
||||
rc = ipmi_sdr_add_from_sensors(intf, 0);
|
||||
} else if (strncmp(argv[1], "file", 4) == 0) {
|
||||
if (argc < 3) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user