Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 May 2016 00:36:12 +0000 (UTC)
From:      Marcelo Araujo <araujo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r299876 - head/sbin/quotacheck
Message-ID:  <201605160036.u4G0aC7H051632@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605160036.u4G0aC7H051632>