mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 10:37:22 +00:00
ID: 65 - Fixes for configure.in for cross compilation
'lib/ipmi_dcmi.c' - return (-1) as the rest of the function does and don't return NULL.
This commit is contained in:
parent
c94c7a5c86
commit
2ac947f6e1
@ -457,7 +457,7 @@ ipmi_dcmi_prnt_oobDiscover(struct ipmi_intf * intf)
|
||||
|
||||
if (intf->opened == 0 && intf->open != NULL) {
|
||||
if (intf->open(intf) < 0)
|
||||
return (int) NULL;
|
||||
return (-1);
|
||||
}
|
||||
if (intf == NULL || intf->session == NULL)
|
||||
return -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user