mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
changed SEL timestamp formatting for 'preinit' SEL entries, allowing
the number of seconds to be displayed.
This commit is contained in:
parent
ba83ecd7d3
commit
a3dd05510a
@ -956,9 +956,16 @@ ipmi_sel_print_std_entry(struct ipmi_intf * intf, struct sel_event_record * evt)
|
|||||||
if (evt->record_type < 0xe0)
|
if (evt->record_type < 0xe0)
|
||||||
{
|
{
|
||||||
if ((evt->sel_type.standard_type.timestamp < 0x20000000)||(evt->sel_type.oem_ts_type.timestamp < 0x20000000)){
|
if ((evt->sel_type.standard_type.timestamp < 0x20000000)||(evt->sel_type.oem_ts_type.timestamp < 0x20000000)){
|
||||||
printf("Pre-Init Time-stamp");
|
printf(" Pre-Init ");
|
||||||
|
|
||||||
if (csv_output)
|
if (csv_output)
|
||||||
printf(",,");
|
printf(",");
|
||||||
|
else
|
||||||
|
printf(" |");
|
||||||
|
|
||||||
|
printf("%010d", evt->sel_type.standard_type.timestamp );
|
||||||
|
if (csv_output)
|
||||||
|
printf(",");
|
||||||
else
|
else
|
||||||
printf("| ");
|
printf("| ");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user