13 lines
379 B
C
13 lines
379 B
C
$NetBSD: patch-src_plugins_lan_lan.c,v 1.1 2013/03/02 17:56:13 joerg Exp $
|
|
|
|
--- src/plugins/lan/lan.c.orig 2013-03-01 13:05:13.000000000 +0000
|
|
+++ src/plugins/lan/lan.c
|
|
@@ -1071,7 +1071,7 @@ uint8_t * ipmi_lan_build_sol_msg(struct
|
|
msg = malloc(len);
|
|
if (msg == NULL) {
|
|
lprintf(LOG_ERR, "ipmitool: malloc failure");
|
|
- return;
|
|
+ return NULL;
|
|
}
|
|
memset(msg, 0, len);
|
|
|