Use NULL instead of 0 for pointers.

MFC after:	2 weeks.
This commit is contained in:
araujo 2016-04-18 07:05:18 +00:00
parent 00659be9d2
commit b2f244e71e

View File

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