diff options
-rw-r--r-- | sbin/nfsd/nfsd.c | 4 | ||||
-rw-r--r-- | sbin/quotacheck/quotacheck.c | 8 |
2 files changed, 6 insertions, 6 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); diff --git a/sbin/quotacheck/quotacheck.c b/sbin/quotacheck/quotacheck.c index 186ffc3baf9..668a7b6ad17 100644 --- a/sbin/quotacheck/quotacheck.c +++ b/sbin/quotacheck/quotacheck.c @@ -1,4 +1,4 @@ -/* $OpenBSD: quotacheck.c,v 1.9 1997/01/22 00:37:15 deraadt Exp $ */ +/* $OpenBSD: quotacheck.c,v 1.10 1997/06/25 18:29:07 kstailey Exp $ */ /* $NetBSD: quotacheck.c,v 1.12 1996/03/30 22:34:25 mark Exp $ */ /* @@ -47,7 +47,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)quotacheck.c 8.3 (Berkeley) 1/29/94"; #else -static char rcsid[] = "$OpenBSD: quotacheck.c,v 1.9 1997/01/22 00:37:15 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: quotacheck.c,v 1.10 1997/06/25 18:29:07 kstailey Exp $"; #endif #endif /* not lint */ @@ -294,7 +294,7 @@ chkquota(vfstype, fsname, mntpt, auxarg, pidp) continue; if (qnp->flags & HASGRP) { fup = addid((u_long)dp->di_gid, - GRPQUOTA, (char *)0); + GRPQUOTA, NULL); fup->fu_curinodes++; if (mode == IFREG || mode == IFDIR || mode == IFLNK) @@ -303,7 +303,7 @@ chkquota(vfstype, fsname, mntpt, auxarg, pidp) } if (qnp->flags & HASUSR) { fup = addid((u_long)dp->di_uid, - USRQUOTA, (char *)0); + USRQUOTA, NULL); fup->fu_curinodes++; if (mode == IFREG || mode == IFDIR || mode == IFLNK) |