diff options
author | araujo <araujo@FreeBSD.org> | 2016-04-18 07:05:18 +0000 |
---|---|---|
committer | araujo <araujo@FreeBSD.org> | 2016-04-18 07:05:18 +0000 |
commit | b2f244e71eb0815053ac5d645349498f4f1bd205 (patch) | |
tree | abaa84ad0029ddc56d16a8a75579891bbf5b9495 | |
parent | 00659be9d27065a749393dcad64872d2504379dc (diff) | |
download | FreeBSD-src-b2f244e71eb0815053ac5d645349498f4f1bd205.zip FreeBSD-src-b2f244e71eb0815053ac5d645349498f4f1bd205.tar.gz |
Use NULL instead of 0 for pointers.
MFC after: 2 weeks.
-rw-r--r-- | usr.bin/find/function.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/find/function.c b/usr.bin/find/function.c index 32be74d..d6466a6 100644 --- a/usr.bin/find/function.c +++ b/usr.bin/find/function.c @@ -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; |