mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-07-01 18:23:36 +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:
@ -457,7 +457,7 @@ ipmi_dcmi_prnt_oobDiscover(struct ipmi_intf * intf)
|
|||||||
|
|
||||||
if (intf->opened == 0 && intf->open != NULL) {
|
if (intf->opened == 0 && intf->open != NULL) {
|
||||||
if (intf->open(intf) < 0)
|
if (intf->open(intf) < 0)
|
||||||
return (int) NULL;
|
return (-1);
|
||||||
}
|
}
|
||||||
if (intf == NULL || intf->session == NULL)
|
if (intf == NULL || intf->session == NULL)
|
||||||
return -1;
|
return -1;
|
||||||
|
Reference in New Issue
Block a user