mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-07-03 11:13:35 +00:00
ID:388 - Fix Error message always printed if BMC does not support VITA
Print error message for 0xC1 to LOG_DEBUG instead of LOG_ERR, because it isn't an error if VITA isn't supported.
This commit is contained in:
@ -192,6 +192,9 @@ vita_discover(struct ipmi_intf *intf)
|
|||||||
|
|
||||||
if (rsp == NULL) {
|
if (rsp == NULL) {
|
||||||
lprintf(LOG_ERR, "No valid response received");
|
lprintf(LOG_ERR, "No valid response received");
|
||||||
|
} else if (rsp->ccode == 0xC1) {
|
||||||
|
lprintf(LOG_DEBUG, "Invalid completion code received: %s",
|
||||||
|
val2str(rsp->ccode, completion_code_vals));
|
||||||
} else if (rsp->ccode != 0) {
|
} else if (rsp->ccode != 0) {
|
||||||
lprintf(LOG_ERR, "Invalid completion code received: %s",
|
lprintf(LOG_ERR, "Invalid completion code received: %s",
|
||||||
val2str(rsp->ccode, completion_code_vals));
|
val2str(rsp->ccode, completion_code_vals));
|
||||||
|
Reference in New Issue
Block a user