Date: Mon, 18 Apr 2016 07:05:19 +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: r298189 - head/usr.bin/find Message-ID: <201604180705.u3I75JoJ052266@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604180705.u3I75JoJ052266>