summaryrefslogtreecommitdiff
path: root/util/ipmicmd.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-01-14 19:52:45 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-01-14 19:52:45 +0100
commitd5cdf594f2678cf690b802fbf4eb687dd9d98c4f (patch)
treee1a4a0b0aee0de7d5f8a03afa444b2470ebdb132 /util/ipmicmd.c
parent4b28a392fa890390755f58e0755ab56e8edaa295 (diff)
New upstream version 3.0.8upstream/3.0.8
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*/