summaryrefslogtreecommitdiff
path: root/util/ipmicmd.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-03-30 16:52:34 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-03-30 16:52:34 +0200
commit631fa5250443f5441549bf3184830bc34b0c042e (patch)
tree78fbc8dcfbe36b7f3499c4dc5c3017435d6fb2a1 /util/ipmicmd.c
parent09863e30b4f27257be0299024d5a0de255f8ea84 (diff)
parentdf5450149923efb0366001947c1456ed442bc4bb (diff)
Merge branch 'release/3.0.8-1'3.0.8-1
Diffstat (limited to 'util/ipmicmd.c')
-rw-r--r--util/ipmicmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/ipmicmd.c b/util/ipmicmd.c
index 45d6e8c..b7c8a5f 100644
--- a/util/ipmicmd.c
+++ b/util/ipmicmd.c
@@ -846,7 +846,7 @@ int ipmi_cmdraw(uchar cmd, uchar netfn, uchar sa, uchar bus, uchar lun,
fprintf(fpdbg,"Driver type %s, open rc = %d\n",
show_driver_type(fDriverTyp),rc);
if (rc == ERR_NO_DRV && !fipmi_lan) fprintf(fperr, "%s", msg_no_drv);
- else if (rc != 0) fprintf(fperr,"ipmi_open error = %d\n", rc);
+ else if (rc != 0) fprintf(fperr,"ipmi_open error = %d %s\n", rc,decode_rv(rc));
if (rc != 0) return(rc);
} /*endif first time*/
@@ -1006,7 +1006,7 @@ int ipmi_cmd(ushort icmd, uchar *pdata, int sdata, uchar *presp,
show_driver_type(fDriverTyp),rc);
if (rc != 0) {
if (rc == ERR_NO_DRV && !fipmi_lan) fprintf(fperr, "%s", msg_no_drv);
- else fprintf(fperr,"ipmi_open error = %d\n", rc);
+ else fprintf(fperr,"ipmi_open error = %d %s\n", rc,decode_rv(rc));
return(rc);
}
} /*endif first time*/