From 8da52394ef9dd24884bcd42ff3f3ce3ac9fc62c9 Mon Sep 17 00:00:00 2001 From: ume Date: Thu, 21 Jul 2005 14:57:53 +0000 Subject: NULL is not zero. Submitted by: Keiichi SHIMA Obtained from: KAME --- sys/netinet6/ip6_output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/netinet6/ip6_output.c') 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) { -- cgit v1.1