Logoj0ke.net Open Build Service > Projects > home:netmax > ipmitool > compile-fixes
Sign Up | Log In

File compile-fixes of Package ipmitool (Revision 6)

Currently displaying revision 6, show latest

x
 
1
--- ipmitool-1.8.9/lib/ipmi_fru.c.orig  2007-03-06 23:15:36.000000000 +0100
2
+++ ipmitool-1.8.9/lib/ipmi_fru.c   2007-03-08 13:02:42.000000000 +0100
3
@@ -1671,7 +1671,7 @@ ipmi_fru_edit_multirec(struct ipmi_intf 
4
       fru_data = malloc(fru.size + 1);
5
       if (fru_data == NULL) {
6
          lprintf(LOG_ERR, " Out of memory!");
7
-         return;
8
+         return -1;
9
       }
10
       memset(fru_data, 0, fru.size + 1);
11
 
12