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:
Zdenek Styblik 2013-07-22 08:34:09 +00:00
parent c94c7a5c86
commit 2ac947f6e1

View File

@ -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;