From 4e9fb18ef65cab7bdafe915f85f5ada8a7cb5419 Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Tue, 23 Aug 2005 20:51:53 +0000 Subject: [PATCH] eliminate extra noise --- ipmitool/lib/ipmi_channel.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ipmitool/lib/ipmi_channel.c b/ipmitool/lib/ipmi_channel.c index aac5c1a..a186b93 100644 --- a/ipmitool/lib/ipmi_channel.c +++ b/ipmitool/lib/ipmi_channel.c @@ -743,9 +743,11 @@ ipmi_get_channel_medium(struct ipmi_intf * intf, uint8_t channel) return -1; } if (rsp->ccode > 0) { - lprintf(LOG_ERR, "Get Channel Info command failed: %s", + if (rsp->ccode == 0xcc) + return IPMI_CHANNEL_MEDIUM_RESERVED; + lprintf(LOG_INFO, "Get Channel Info command failed: %s", val2str(rsp->ccode, completion_code_vals)); - return -1; + return IPMI_CHANNEL_MEDIUM_RESERVED; } memcpy(&info, rsp->data, sizeof(struct get_channel_info_rsp));