From bab9594f8254649e0496410a97ea74ad4bf9f391 Mon Sep 17 00:00:00 2001 From: kstailey Date: Wed, 25 Jun 1997 18:29:08 +0000 Subject: (foo *)0 -> NULL --- sbin/nfsd/nfsd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sbin/nfsd') 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); -- cgit v1.2.3