From owner-svn-src-all@freebsd.org Mon May 16 00:36:13 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E9101B3391D; Mon, 16 May 2016 00:36:13 +0000 (UTC) (envelope-from araujo@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B6CBA101F; Mon, 16 May 2016 00:36:13 +0000 (UTC) (envelope-from araujo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4G0aC9E051633; Mon, 16 May 2016 00:36:12 GMT (envelope-from araujo@FreeBSD.org) Received: (from araujo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4G0aC7H051632; Mon, 16 May 2016 00:36:12 GMT (envelope-from araujo@FreeBSD.org) Message-Id: <201605160036.u4G0aC7H051632@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: araujo set sender to araujo@FreeBSD.org using -f From: Marcelo Araujo Date: Mon, 16 May 2016 00:36:12 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r299876 - head/sbin/quotacheck X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2016 00:36:14 -0000 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);