forked from pool/ipmitool
Thomas Renninger
570b85101b
- Update to latest ipmitool source code commit 9020b67347f46554009591ae91e4fa8875c65dfa Date: Tue Jan 12 21:16:37 2016 +0500 - Fix memleak: bnc#968105 Add: ipmitool-sol_memleak.patch OBS-URL: https://build.opensuse.org/request/show/361388 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ipmitool?expand=0&rev=35
33 lines
1.2 KiB
Diff
33 lines
1.2 KiB
Diff
Index: ipmitool-1.8.16/lib/ipmi_fwum.c
|
|
===================================================================
|
|
--- ipmitool-1.8.16.orig/lib/ipmi_fwum.c 2015-11-22 13:50:54.000000000 +0100
|
|
+++ ipmitool-1.8.16/lib/ipmi_fwum.c 2016-02-25 13:25:35.907249893 +0100
|
|
@@ -1098,12 +1098,14 @@ ipmi_kfwum_checkfwcompat(tKFWUM_BoardInf
|
|
int compatible = 0;
|
|
if (boardInfo.iana != firmInfo.iana) {
|
|
lprintf(LOG_ERR,
|
|
- "Board IANA does not match firmware IANA.");
|
|
+ "Board IANA [%u] does not match firmware IANA [%u]\n",
|
|
+ boardInfo.iana, firmInfo.iana);
|
|
compatible = (-1);
|
|
}
|
|
if (boardInfo.boardId != firmInfo.boardId) {
|
|
lprintf(LOG_ERR,
|
|
- "Board IANA does not match firmware IANA.");
|
|
+ "Board ID [%u] does not match firmware board ID [%u]\n",
|
|
+ boardInfo.boardId, firmInfo.boardId);
|
|
compatible = (-1);
|
|
}
|
|
if (compatible != 0) {
|
|
@@ -1121,6 +1123,10 @@ printf_kfwum_info(tKFWUM_BoardInfo board
|
|
printf(
|
|
"Target IANA number : %u\n", boardInfo.iana);
|
|
printf(
|
|
+"FW File Board Id : %u\n",firmInfo.boardId);
|
|
+ printf(
|
|
+"FW File IANA number : %u\n",firmInfo.iana);
|
|
+ printf(
|
|
"File Size : %lu bytes\n", firmInfo.fileSize);
|
|
printf(
|
|
"Firmware Version : %d.%d%d SDR %d\n", firmInfo.versMajor,
|