mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-01-13 11:40:25 +03:00
zdb: standardise on ctime()
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #13284
This commit is contained in:
parent
95babbe573
commit
d5036491e6
@ -3926,7 +3926,7 @@ dump_uberblock(uberblock_t *ub, const char *header, const char *footer)
|
||||
(void) printf("\ttxg = %llu\n", (u_longlong_t)ub->ub_txg);
|
||||
(void) printf("\tguid_sum = %llu\n", (u_longlong_t)ub->ub_guid_sum);
|
||||
(void) printf("\ttimestamp = %llu UTC = %s",
|
||||
(u_longlong_t)ub->ub_timestamp, asctime(localtime(×tamp)));
|
||||
(u_longlong_t)ub->ub_timestamp, ctime(×tamp));
|
||||
|
||||
(void) printf("\tmmp_magic = %016llx\n",
|
||||
(u_longlong_t)ub->ub_mmp_magic);
|
||||
|
Loading…
Reference in New Issue
Block a user