summaryrefslogtreecommitdiff
path: root/sbin/quotacheck
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-06-25 18:29:08 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-06-25 18:29:08 +0000
commitbab9594f8254649e0496410a97ea74ad4bf9f391 (patch)
tree89bde4606277bc39d7d82593efb1d7441977f3a1 /sbin/quotacheck
parent4ce7be2f6f25a479c333cc38f03ce5facf700c69 (diff)
(foo *)0 -> NULL
Diffstat (limited to 'sbin/quotacheck')
-rw-r--r--sbin/quotacheck/quotacheck.c8
1 files changed, 4 insertions, 4 deletions
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)