mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-07-09 22:23:36 +00:00
fix formatting loss
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user