diff options
author | kstailey <kstailey@cvs.openbsd.org> | 1997-06-25 18:07:58 +0000 |
---|---|---|
committer | kstailey <kstailey@cvs.openbsd.org> | 1997-06-25 18:07:58 +0000 |
commit | eabadd96930ebc67ee537b05f194a3c47f2d4333 (patch) | |
tree | 7b7276c796c095da1df864fa8fec5ebacb97b9e8 /sbin/dump/optr.c | |
parent | d02ac94d56425c128f50daed5dcee2a8d59af66f (diff) |
(foo *)0 -> NULL
Diffstat (limited to 'sbin/dump/optr.c')
-rw-r--r-- | sbin/dump/optr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/dump/optr.c b/sbin/dump/optr.c index 07fc2cffa05..2c63f065d33 100644 --- a/sbin/dump/optr.c +++ b/sbin/dump/optr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: optr.c,v 1.12 1996/10/12 01:24:15 deraadt Exp $ */ +/* $OpenBSD: optr.c,v 1.13 1997/06/25 18:07:57 kstailey Exp $ */ /* $NetBSD: optr.c,v 1.4 1996/05/18 16:16:17 jtk Exp $ */ /*- @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)optr.c 8.2 (Berkeley) 1/6/94"; #else -static char rcsid[] = "$OpenBSD: optr.c,v 1.12 1996/10/12 01:24:15 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: optr.c,v 1.13 1997/06/25 18:07:57 kstailey Exp $"; #endif #endif /* not lint */ @@ -95,7 +95,7 @@ query(question) FILE *mytty; time_t firstprompt, when_answered; - firstprompt = time((time_t *)0); + firstprompt = time(NULL); if ((mytty = fopen(_PATH_TTY, "r")) == NULL) quit("fopen on %s fails: %s\n", _PATH_TTY, strerror(errno)); @@ -128,7 +128,7 @@ query(question) if (signal(SIGALRM, sig) == SIG_IGN) signal(SIGALRM, SIG_IGN); (void) fclose(mytty); - when_answered = time((time_t *)0); + when_answered = time(NULL); /* * Adjust the base for time estimates to ignore time we spent waiting * for operator input. |