Author: araujo
Date: Mon May 16 00:36:12 2016
New Revision: 299876
URL: https://svnweb.freebsd.org/changeset/base/299876

Log:
  For pointers use NULL instead of 0.
  
  MFC after:    2 weeks.

Modified:
  head/sbin/quotacheck/quotacheck.c

Modified: head/sbin/quotacheck/quotacheck.c
==============================================================================
--- head/sbin/quotacheck/quotacheck.c   Mon May 16 00:35:39 2016        
(r299875)
+++ head/sbin/quotacheck/quotacheck.c   Mon May 16 00:36:12 2016        
(r299876)
@@ -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);
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to