mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-11 02:57:22 +00:00
cleanup (whitespace mess)
This commit is contained in:
parent
6e4a63bdfe
commit
d9e561a4cf
@ -1661,27 +1661,27 @@ ipmi_sdr_print_sensor_compact(struct ipmi_intf *intf,
|
|||||||
validread = 0;
|
validread = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (rsp->ccode > 0) {
|
else if (rsp->ccode > 0) {
|
||||||
/* completion code 0xcd is special case */
|
/* completion code 0xcd is special case */
|
||||||
if (rsp->ccode == 0xcd) {
|
if (rsp->ccode == 0xcd) {
|
||||||
/* sensor not found */
|
/* sensor not found */
|
||||||
validread = 0;
|
validread = 0;
|
||||||
} else {
|
} else {
|
||||||
lprintf(LOG_DEBUG, "Error reading sensor %s (#%02x): %s",
|
lprintf(LOG_DEBUG, "Error reading sensor %s (#%02x): %s",
|
||||||
desc, sensor->keys.sensor_num,
|
desc, sensor->keys.sensor_num,
|
||||||
val2str(rsp->ccode, completion_code_vals));
|
val2str(rsp->ccode, completion_code_vals));
|
||||||
validread = 0;
|
validread = 0;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (IS_READING_UNAVAILABLE(rsp->data[1])) {
|
if (IS_READING_UNAVAILABLE(rsp->data[1])) {
|
||||||
/* sensor reading unavailable */
|
/* sensor reading unavailable */
|
||||||
validread = 0;
|
validread = 0;
|
||||||
} else if (IS_SCANNING_DISABLED(rsp->data[1])) {
|
} else if (IS_SCANNING_DISABLED(rsp->data[1])) {
|
||||||
validread = 0;
|
validread = 0;
|
||||||
/* check for sensor scanning disabled bit */
|
/* check for sensor scanning disabled bit */
|
||||||
lprintf(LOG_DEBUG, "Sensor %s (#%02x) scanning disabled",
|
lprintf(LOG_DEBUG, "Sensor %s (#%02x) scanning disabled",
|
||||||
desc, sensor->keys.sensor_num);
|
desc, sensor->keys.sensor_num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (verbose) {
|
if (verbose) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user