include the numeric error code if it's available.

This commit is contained in:
Jeremy Ellington 2005-02-16 22:33:02 +00:00
parent 3d29ed01a5
commit 761ce85d28

View File

@ -94,8 +94,8 @@ ipmi_raw_main(struct ipmi_intf * intf, int argc, char ** argv)
} }
if (rsp->ccode > 0) { if (rsp->ccode > 0) {
lprintf(LOG_ERR, "Unable to send RAW command " lprintf(LOG_ERR, "Unable to send RAW command "
"(netfn=0x%x cmd=0x%x): %s", "(netfn=0x%x cmd=0x%x rsp=0x%x): %s",
req.msg.netfn, req.msg.cmd, req.msg.netfn, req.msg.cmd, rsp->ccode,
val2str(rsp->ccode, completion_code_vals)); val2str(rsp->ccode, completion_code_vals));
return -1; return -1;
} }