SHA256
1
0
forked from pool/ipmitool
ipmitool/lan_fix_return_value.patch
OBS User autobuild 576167f497 Accepting request 34171 from systemsmanagement:wbem
Copy from systemsmanagement:wbem/ipmitool based on submit request 34171 from user coolo

OBS-URL: https://build.opensuse.org/request/show/34171
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ipmitool?expand=0&rev=10
2010-03-05 15:31:33 +00:00

12 lines
296 B
Diff

--- ipmitool-1.8.11/src/plugins/lan/lan.c 2010/03/04 00:55:42 1.1
+++ ipmitool-1.8.11/src/plugins/lan/lan.c 2010/03/04 00:56:39
@@ -1071,7 +1071,7 @@
msg = malloc(len);
if (msg == NULL) {
lprintf(LOG_ERR, "ipmitool: malloc failure");
- return;
+ return msg;
}
memset(msg, 0, len);