aboutsummaryrefslogtreecommitdiff
path: root/sbin/quotacheck
diff options
context:
space:
mode:
authorMarcelo Araujo <araujo@FreeBSD.org>2016-05-16 00:36:12 +0000
committerMarcelo Araujo <araujo@FreeBSD.org>2016-05-16 00:36:12 +0000
commitf8358c11a5a31da3b459f22137a74588fc99e195 (patch)
treeeac9bf70a1a5846224fd9813c8d58301ea6fef6b /sbin/quotacheck
parent798a749aaea0d3f0476742c3f4bb6fde633f0aca (diff)
downloadsrc-f8358c11a5a31da3b459f22137a74588fc99e195.tar.gz
src-f8358c11a5a31da3b459f22137a74588fc99e195.zip
For pointers use NULL instead of 0.
MFC after: 2 weeks.
Notes
Notes: svn path=/head/; revision=299876
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 a32ac841207d..0ee5b092887e 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);