diff options
author | ume <ume@FreeBSD.org> | 2005-07-21 14:57:53 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2005-07-21 14:57:53 +0000 |
commit | 8da52394ef9dd24884bcd42ff3f3ce3ac9fc62c9 (patch) | |
tree | a805c408547621787520263dc41af921ef328b88 /sys | |
parent | 6989cd8fec928463d2b1e3b8cbad43c129ee0c71 (diff) | |
download | FreeBSD-src-8da52394ef9dd24884bcd42ff3f3ce3ac9fc62c9.zip FreeBSD-src-8da52394ef9dd24884bcd42ff3f3ce3ac9fc62c9.tar.gz |
NULL is not zero.
Submitted by: Keiichi SHIMA <keiichi__at__iijlab.net>
Obtained from: KAME
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet6/ip6_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c index 110d203..3923c75 100644 --- a/sys/netinet6/ip6_output.c +++ b/sys/netinet6/ip6_output.c @@ -3005,7 +3005,7 @@ ip6_setpktoptions(control, opt, stickyopt, priv, needcopy, uproto) { struct cmsghdr *cm = 0; - if (control == 0 || opt == 0) + if (control == NULL || opt == NULL) return (EINVAL); if (stickyopt) { |