Merge branch 'linux-events' into refs/top-bases/linux-zfs-branch
This commit is contained in:
commit
542052314e
|
@ -3790,7 +3790,7 @@ zpool_do_events_short(nvlist_t *nvl)
|
|||
|
||||
verify(nvlist_lookup_int64_array(nvl, FM_EREPORT_TIME, &tv, &n) == 0);
|
||||
memset(str, ' ', 32);
|
||||
(void) ctime_r(&tv[0], ctime_str);
|
||||
(void) ctime_r((const time_t *)&tv[0], ctime_str);
|
||||
(void) strncpy(str, ctime_str+4, 6); /* 'Jun 30' */
|
||||
(void) strncpy(str+7, ctime_str+20, 4); /* '1993' */
|
||||
(void) strncpy(str+12, ctime_str+11, 8); /* '21:49:08' */
|
||||
|
|
Loading…
Reference in New Issue