Follow-up Comment #1, bug #38798 (project freeipmi):
Here's a patch for one instance of this problem. Like I suggested for bug
#38799, a generic "IPMI timestamp" function should be created and used
everywhere so as to resolve these issues globally:
===================================================================
--- bmc-device.c (revision 9608)
+++ bmc-device.c (working copy)
@@ -1281,7 +1281,7 @@
memset (&tm, ' ', sizeof(struct tm));
t = val;
- localtime_r (&t, &tm);
+ gmtime_r (&t, &tm);
strftime (timestr, sizeof (timestr), "%m/%d/%Y - %H:%M:%S", &tm);
pstdout_printf (state_data->pstate,
"SEL Time : %sn",
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?38798>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Freeipmi-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/freeipmi-devel