mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
ID: 3607393 - 'lib/ipmi_event.c' - redundant '\n' in error message
Commit removes redundant '\n' in error message.
This commit is contained in:
parent
665f2f7ee9
commit
95df7b2499
@ -340,7 +340,7 @@ ipmi_event_fromsensor(struct ipmi_intf * intf, char * id, char * state, char * e
|
|||||||
(emsg.event_dir == EVENT_DIR_DEASSERT && hilo == 1))
|
(emsg.event_dir == EVENT_DIR_DEASSERT && hilo == 1))
|
||||||
emsg.event_data[0] = (uint8_t)(str2val(state, ipmi_event_thresh_lo) & 0xf);
|
emsg.event_data[0] = (uint8_t)(str2val(state, ipmi_event_thresh_lo) & 0xf);
|
||||||
else {
|
else {
|
||||||
lprintf(LOG_ERR, "Invalid Event\n");
|
lprintf(LOG_ERR, "Invalid Event");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user