diff options
author | araujo <araujo@FreeBSD.org> | 2016-05-16 00:36:12 +0000 |
---|---|---|
committer | araujo <araujo@FreeBSD.org> | 2016-05-16 00:36:12 +0000 |
commit | 637e3ed98a495890121f998c86df8a1b440221a5 (patch) | |
tree | eac9bf70a1a5846224fd9813c8d58301ea6fef6b /sbin | |
parent | 458199cffd47523156d49f7081735fda0dbf4c84 (diff) | |
download | FreeBSD-src-637e3ed98a495890121f998c86df8a1b440221a5.zip FreeBSD-src-637e3ed98a495890121f998c86df8a1b440221a5.tar.gz |
For pointers use NULL instead of 0.
MFC after: 2 weeks.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/quotacheck/quotacheck.c | 2 |
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); |