diff options
Diffstat (limited to 'sbin/dump')
-rw-r--r-- | sbin/dump/itime.c | 8 | ||||
-rw-r--r-- | sbin/dump/main.c | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/sbin/dump/itime.c b/sbin/dump/itime.c index 3b622b2..dda11fa 100644 --- a/sbin/dump/itime.c +++ b/sbin/dump/itime.c @@ -155,9 +155,9 @@ getdumptime() continue; if (ddp->dd_level >= level) continue; - if (ddp->dd_ddate <= time32_to_time(spcl.c_ddate)) + if (ddp->dd_ddate <= _time32_to_time(spcl.c_ddate)) continue; - spcl.c_ddate = time_to_time32(ddp->dd_ddate); + spcl.c_ddate = _time_to_time32(ddp->dd_ddate); lastlevel = ddp->dd_level; } } @@ -205,7 +205,7 @@ putdumptime() 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 = _time32_to_time(spcl.c_date); ITITERATE(i, dtwalk) { dumprecout(df, dtwalk); @@ -218,7 +218,7 @@ putdumptime() if (spcl.c_date == 0) { tmsg = "the epoch\n"; } else { - time_t t = time32_to_time(spcl.c_date); + time_t t = _time32_to_time(spcl.c_date); tmsg = ctime(&t); } msg("level %c dump on %s", level, tmsg); diff --git a/sbin/dump/main.c b/sbin/dump/main.c index 9cc8a7e..392fa70 100644 --- a/sbin/dump/main.c +++ b/sbin/dump/main.c @@ -103,7 +103,7 @@ main(argc, argv) char *tmsg; time_t t; - spcl.c_date = time_to_time32(time(NULL)); + spcl.c_date = _time_to_time32(time(NULL)); tsize = 0; /* Default later, based on 'c' option for cart tapes */ if ((tape = getenv("TAPE")) == NULL) @@ -312,14 +312,14 @@ main(argc, argv) if (spcl.c_date == 0) { tmsg = "the epoch\n"; } else { - time_t t = time32_to_time(spcl.c_date); + time_t t = _time32_to_time(spcl.c_date); tmsg = ctime(&t); } msg("Date of this level %c dump: %s", level, tmsg); if (spcl.c_ddate == 0) { tmsg = "the epoch\n"; } else { - time_t t = time32_to_time(spcl.c_ddate); + time_t t = _time32_to_time(spcl.c_ddate); tmsg = ctime(&t); } msg("Date of last level %c dump: %s", lastlevel, tmsg); |