diff options
-rw-r--r-- | sbin/dump/main.c | 4 | ||||
-rw-r--r-- | sbin/dump/tape.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sbin/dump/main.c b/sbin/dump/main.c index 518a04cb81e..feb245b3675 100644 --- a/sbin/dump/main.c +++ b/sbin/dump/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.45 2011/04/25 15:24:16 deraadt Exp $ */ +/* $OpenBSD: main.c,v 1.46 2013/04/16 18:17:39 deraadt Exp $ */ /* $NetBSD: main.c,v 1.14 1997/06/05 11:13:24 lukem Exp $ */ /*- @@ -481,7 +481,7 @@ main(int argc, char *argv[]) quit("can't allocate tape buffers - try a smaller blocking factor.\n"); startnewtape(1); - (void)time((time_t *)&(tstart_writing)); + (void)time(&tstart_writing); xferrate = 0; dumpmap(usedinomap, TS_CLRI, maxino - 1); diff --git a/sbin/dump/tape.c b/sbin/dump/tape.c index 0f4e60d757b..db622b5a249 100644 --- a/sbin/dump/tape.c +++ b/sbin/dump/tape.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tape.c,v 1.32 2012/08/22 05:20:51 halex Exp $ */ +/* $OpenBSD: tape.c,v 1.33 2013/04/16 18:17:39 deraadt Exp $ */ /* $NetBSD: tape.c,v 1.11 1997/06/05 11:13:26 lukem Exp $ */ /*- @@ -256,7 +256,7 @@ statussig(int signo) if (blockswritten < 500) return; - (void) time((time_t *) &tnow); + (void) time(&tnow); deltat = tstart_writing - tnow + (1.0 * (tnow - tstart_writing)) / blockswritten * tapesize; (void)snprintf(msgbuf, sizeof(msgbuf), |