diff options
Diffstat (limited to 'src/ipmievd.c')
-rw-r--r-- | src/ipmievd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ipmievd.c b/src/ipmievd.c index caefd95..67788e5 100644 --- a/src/ipmievd.c +++ b/src/ipmievd.c @@ -239,8 +239,7 @@ log_event(struct ipmi_event_intf * eintf, struct sel_event_record * evt) return; } - type = ipmi_sel_get_sensor_type_offset(evt->sel_type.standard_type.sensor_type, - evt->sel_type.standard_type.event_data[0]); + type = ipmi_get_sensor_type(intf, evt->sel_type.standard_type.sensor_type); ipmi_get_event_desc(intf, evt, &desc); @@ -333,7 +332,7 @@ log_event(struct ipmi_event_intf * eintf, struct sel_event_record * evt) break; default: - lprintf(LOG_NOTICE, "%s%s sensor - %s", + lprintf(LOG_NOTICE, "%s%s sensor (0x%02x) - %s", eintf->prefix, type, evt->sel_type.standard_type.sensor_num, desc ? desc : ""); break; |