summaryrefslogtreecommitdiffstats
path: root/sbin/quotacheck
diff options
context:
space:
mode:
authoraraujo <araujo@FreeBSD.org>2016-05-16 00:36:12 +0000
committeraraujo <araujo@FreeBSD.org>2016-05-16 00:36:12 +0000
commit637e3ed98a495890121f998c86df8a1b440221a5 (patch)
treeeac9bf70a1a5846224fd9813c8d58301ea6fef6b /sbin/quotacheck
parent458199cffd47523156d49f7081735fda0dbf4c84 (diff)
downloadFreeBSD-src-637e3ed98a495890121f998c86df8a1b440221a5.zip
FreeBSD-src-637e3ed98a495890121f998c86df8a1b440221a5.tar.gz
For pointers use NULL instead of 0.
MFC after: 2 weeks.
Diffstat (limited to 'sbin/quotacheck')
-rw-r--r--sbin/quotacheck/quotacheck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/quotacheck/quotacheck.c b/sbin/quotacheck/quotacheck.c
index a32ac84..0ee5b09 100644
--- a/sbin/quotacheck/quotacheck.c
+++ b/sbin/quotacheck/quotacheck.c
@@ -543,7 +543,7 @@ lookup(u_long id, int type)
{
struct fileusage *fup;
- for (fup = fuhead[type][id & (FUHASH-1)]; fup != 0; fup = fup->fu_next)
+ for (fup = fuhead[type][id & (FUHASH-1)]; fup != NULL; fup = fup->fu_next)
if (fup->fu_id == id)
return (fup);
return (NULL);
OpenPOWER on IntegriCloud