diff options
author | araujo <araujo@FreeBSD.org> | 2016-04-19 00:59:15 +0000 |
---|---|---|
committer | araujo <araujo@FreeBSD.org> | 2016-04-19 00:59:15 +0000 |
commit | 801d6e7892a15d7d42b3351677e88447fdcf93b2 (patch) | |
tree | 1aed4a5a2b500b7d6384e58a2f6609deb32eeef5 /sbin/atm | |
parent | de70093c620fdeab9a53f1b2da8f263bd85aebc9 (diff) | |
download | FreeBSD-src-801d6e7892a15d7d42b3351677e88447fdcf93b2.zip FreeBSD-src-801d6e7892a15d7d42b3351677e88447fdcf93b2.tar.gz |
Use NULL for pointers instead of 0.
MFC after: 2 weeks.
Diffstat (limited to 'sbin/atm')
-rw-r--r-- | sbin/atm/atmconfig/natm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/atm/atmconfig/natm.c b/sbin/atm/atmconfig/natm.c index 29f5ce2..cac3880 100644 --- a/sbin/atm/atmconfig/natm.c +++ b/sbin/atm/atmconfig/natm.c @@ -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); |