diff options
author | kstailey <kstailey@cvs.openbsd.org> | 1997-06-25 18:29:08 +0000 |
---|---|---|
committer | kstailey <kstailey@cvs.openbsd.org> | 1997-06-25 18:29:08 +0000 |
commit | bab9594f8254649e0496410a97ea74ad4bf9f391 (patch) | |
tree | 89bde4606277bc39d7d82593efb1d7441977f3a1 /sbin/nfsd/nfsd.c | |
parent | 4ce7be2f6f25a479c333cc38f03ce5facf700c69 (diff) |
(foo *)0 -> NULL
Diffstat (limited to 'sbin/nfsd/nfsd.c')
-rw-r--r-- | sbin/nfsd/nfsd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/nfsd/nfsd.c b/sbin/nfsd/nfsd.c index 93b3cefacea..9dfd1f53bf3 100644 --- a/sbin/nfsd/nfsd.c +++ b/sbin/nfsd/nfsd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfsd.c,v 1.4 1997/01/15 23:41:34 millert Exp $ */ +/* $OpenBSD: nfsd.c,v 1.5 1997/06/25 18:28:10 kstailey Exp $ */ /* $NetBSD: nfsd.c,v 1.19 1996/02/18 23:18:56 mycroft Exp $ */ /* @@ -282,7 +282,7 @@ main(argc, argv, envp) * in ONC RPC". */ kt.length = ntohl(kt.length); - if (gettimeofday(&ktv, (struct timezone *)0) == 0 && + if (gettimeofday(&ktv, NULL) == 0 && kt.length > 0 && kt.length <= (RPCAUTH_MAXSIZ - 3 * NFSX_UNSIGNED)) { kin.w1 = NFS_KERBW1(kt); |