diff options
-rw-r--r-- | bin/ksh/mail.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ksh/mail.c b/bin/ksh/mail.c index 9f6c1eda45c..407e7ddfcdf 100644 --- a/bin/ksh/mail.c +++ b/bin/ksh/mail.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mail.c,v 1.15 2005/03/30 17:16:37 deraadt Exp $ */ +/* $OpenBSD: mail.c,v 1.16 2013/04/16 22:13:14 deraadt Exp $ */ /* * Mailbox checking code by Robert J. Gibson, adapted for PD ksh by @@ -43,7 +43,7 @@ mcheck(void) struct tbl *vp; struct stat stbuf; - now = time((time_t *) 0); + now = time(NULL); if (mlastchkd == 0) mlastchkd = now; if (now - mlastchkd >= mailcheck_interval) { |