summaryrefslogtreecommitdiffstats
path: root/sbin/dump/itime.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/dump/itime.c')
-rw-r--r--sbin/dump/itime.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/dump/itime.c b/sbin/dump/itime.c
index b4c8f98..c875013 100644
--- a/sbin/dump/itime.c
+++ b/sbin/dump/itime.c
@@ -152,9 +152,9 @@ getdumptime(void)
continue;
if (ddp->dd_level >= level)
continue;
- if (ddp->dd_ddate <= _time32_to_time(spcl.c_ddate))
+ if (ddp->dd_ddate <= _time64_to_time(spcl.c_ddate))
continue;
- spcl.c_ddate = _time_to_time32(ddp->dd_ddate);
+ spcl.c_ddate = _time_to_time64(ddp->dd_ddate);
lastlevel = ddp->dd_level;
}
}
@@ -202,7 +202,7 @@ putdumptime(void)
found:
(void) strncpy(dtwalk->dd_name, fname, sizeof (dtwalk->dd_name));
dtwalk->dd_level = level;
- dtwalk->dd_ddate = _time32_to_time(spcl.c_date);
+ dtwalk->dd_ddate = _time64_to_time(spcl.c_date);
ITITERATE(i, dtwalk) {
dumprecout(df, dtwalk);
@@ -215,7 +215,7 @@ putdumptime(void)
if (spcl.c_date == 0) {
tmsg = "the epoch\n";
} else {
- time_t t = _time32_to_time(spcl.c_date);
+ time_t t = _time64_to_time(spcl.c_date);
tmsg = ctime(&t);
}
msg("level %c dump on %s", level, tmsg);
OpenPOWER on IntegriCloud