fix formatting loss

This commit is contained in:
Duncan Laurie 2006-09-21 19:53:33 +00:00
parent 19f9d13807
commit fda2c028fe

View File

@ -1022,14 +1022,11 @@ ipmi_set_channel_access(struct ipmi_intf * intf, uint8_t channel, uint8_t enable
if (rsp == NULL) { if (rsp == NULL) {
lprintf(LOG_ERR, "Unable to Get Channel Access for channel %d", channel); lprintf(LOG_ERR, "Unable to Get Channel Access for channel %d", channel);
return -1; return -1;
} } else if (rsp->ccode > 0) {
if (rsp->ccode > 0) {
lprintf(LOG_ERR, "Set Channel Access for channel %d failed: %s", lprintf(LOG_ERR, "Set Channel Access for channel %d failed: %s",
channel, val2str(rsp->ccode, completion_code_vals)); channel, val2str(rsp->ccode, completion_code_vals));
return -1; return -1;
} } else {
else
{
byteEnable = *(rsp->data + 0); byteEnable = *(rsp->data + 0);
} }
@ -1052,8 +1049,7 @@ ipmi_set_channel_access(struct ipmi_intf * intf, uint8_t channel, uint8_t enable
if (rsp == NULL) { if (rsp == NULL) {
lprintf(LOG_ERR, "Unable to Set Channel Access for channel %d", channel); lprintf(LOG_ERR, "Unable to Set Channel Access for channel %d", channel);
return -1; return -1;
} } else if (rsp->ccode > 0) {
if (rsp->ccode > 0) {
lprintf(LOG_ERR, "Set Channel Access for channel %d failed: %s", lprintf(LOG_ERR, "Set Channel Access for channel %d failed: %s",
channel, val2str(rsp->ccode, completion_code_vals)); channel, val2str(rsp->ccode, completion_code_vals));
return -1; return -1;
@ -1073,14 +1069,11 @@ ipmi_set_channel_access(struct ipmi_intf * intf, uint8_t channel, uint8_t enable
if (rsp == NULL) { if (rsp == NULL) {
lprintf(LOG_ERR, "Unable to Get Channel Access for channel %d", channel); lprintf(LOG_ERR, "Unable to Get Channel Access for channel %d", channel);
return -1; return -1;
} } else if (rsp->ccode > 0) {
if (rsp->ccode > 0) {
lprintf(LOG_ERR, "Set Channel Access for channel %d failed: %s", lprintf(LOG_ERR, "Set Channel Access for channel %d failed: %s",
channel, val2str(rsp->ccode, completion_code_vals)); channel, val2str(rsp->ccode, completion_code_vals));
return -1; return -1;
} } else {
else
{
byteEnable = *(rsp->data + 0); byteEnable = *(rsp->data + 0);
} }
@ -1103,8 +1096,7 @@ ipmi_set_channel_access(struct ipmi_intf * intf, uint8_t channel, uint8_t enable
if (rsp == NULL) { if (rsp == NULL) {
lprintf(LOG_ERR, "Unable to Set Channel Access for channel %d", channel); lprintf(LOG_ERR, "Unable to Set Channel Access for channel %d", channel);
return -1; return -1;
} } else if (rsp->ccode > 0) {
if (rsp->ccode > 0) {
lprintf(LOG_ERR, "Set Channel Access for channel %d failed: %s", lprintf(LOG_ERR, "Set Channel Access for channel %d failed: %s",
channel, val2str(rsp->ccode, completion_code_vals)); channel, val2str(rsp->ccode, completion_code_vals));
return -1; return -1;