mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
Added missing val2str(rsp->ccode, completion_code_vals) for format argument.
This commit is contained in:
parent
897b3c5a46
commit
c86c21e734
@ -1181,7 +1181,8 @@ ipmi_set_session_privlvl_cmd(struct ipmi_intf * intf)
|
|||||||
|
|
||||||
if (rsp->ccode > 0) {
|
if (rsp->ccode > 0) {
|
||||||
lprintf(LOG_ERR, "Set Session Privilege Level to %s failed: %s",
|
lprintf(LOG_ERR, "Set Session Privilege Level to %s failed: %s",
|
||||||
val2str(privlvl, ipmi_privlvl_vals));
|
val2str(privlvl, ipmi_privlvl_vals),
|
||||||
|
val2str(rsp->ccode, completion_code_vals));
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user