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;
_______________________________________________
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