Use NULL for pointers instead of 0.
MFC after: 2 weeks.
This commit is contained in:
parent
ec23a76360
commit
8e58be03e7
@ -575,7 +575,7 @@ natm_delete(int argc, char *argv[])
|
||||
TAILQ_FOREACH(aif, &diagif_list, link)
|
||||
if (strcmp(aif->ifname, argv[0]) == 0)
|
||||
break;
|
||||
if (aif == 0)
|
||||
if (aif == NULL)
|
||||
errx(1, "no such interface '%s'", argv[0]);
|
||||
|
||||
vpi = parse_num(argv[1], "VPI", 0xff);
|
||||
|
Loading…
x
Reference in New Issue
Block a user