diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2018-01-14 19:52:55 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2018-01-14 19:52:55 +0100 |
commit | 5b50435985339941cc13b8a03b91323840e9ff65 (patch) | |
tree | 7dd3faad505cb700be9cf33e4f7a0e534f52f325 /util/ipmicmd.c | |
parent | a065a7a25209c92425480fa90f9c5545e3fe0350 (diff) | |
parent | d5cdf594f2678cf690b802fbf4eb687dd9d98c4f (diff) |
Update upstream source from tag 'upstream/3.0.8'
Update to upstream version '3.0.8'
with Debian dir 1048c13e15771c5a2dc8a8c40d33dae266fdd3af
Diffstat (limited to 'util/ipmicmd.c')
-rw-r--r-- | util/ipmicmd.c | 4 |
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*/ |