diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2018-01-14 21:40:40 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2018-01-14 21:40:40 +0100 |
commit | b625a9423cd74481a77f816adae37db2515f4307 (patch) | |
tree | 33211524a3963934f3fc4de133785c6ea6aa5e3b /util/ipmicmd.c | |
parent | a065a7a25209c92425480fa90f9c5545e3fe0350 (diff) | |
parent | f875d640b628e5e88fd63f9b51121c90c0c1122b (diff) |
Merge branch 'feature/upstream' into develop
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*/ |