svn commit: r298189 - head/usr.bin/find
Marcelo Araujo
araujo at FreeBSD.org
Mon Apr 18 07:05:20 UTC 2016
Author: araujo
Date: Mon Apr 18 07:05:18 2016
New Revision: 298189
URL: https://svnweb.freebsd.org/changeset/base/298189
Log:
Use NULL instead of 0 for pointers.
MFC after: 2 weeks.
Modified:
head/usr.bin/find/function.c
Modified: head/usr.bin/find/function.c
==============================================================================
--- head/usr.bin/find/function.c Mon Apr 18 06:58:07 2016 (r298188)
+++ head/usr.bin/find/function.c Mon Apr 18 07:05:18 2016 (r298189)
@@ -224,7 +224,7 @@ nextarg(OPTION *option, char ***argvp)
{
char *arg;
- if ((arg = **argvp) == 0)
+ if ((arg = **argvp) == NULL)
errx(1, "%s: requires additional arguments", option->name);
(*argvp)++;
return arg;
More information about the svn-src-head
mailing list