NULL is not zero.

Submitted by:	Keiichi SHIMA <keiichi__at__iijlab.net>
Obtained from:	KAME
This commit is contained in:
ume 2005-07-21 14:57:53 +00:00
parent 6989cd8fec
commit 8da52394ef

View File

@ -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) {