summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/ip6_output.c
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2005-07-21 14:57:53 +0000
committerume <ume@FreeBSD.org>2005-07-21 14:57:53 +0000
commit8da52394ef9dd24884bcd42ff3f3ce3ac9fc62c9 (patch)
treea805c408547621787520263dc41af921ef328b88 /sys/netinet6/ip6_output.c
parent6989cd8fec928463d2b1e3b8cbad43c129ee0c71 (diff)
downloadFreeBSD-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/netinet6/ip6_output.c')
-rw-r--r--sys/netinet6/ip6_output.c2
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) {
OpenPOWER on IntegriCloud