NULL is not zero.

Submitted by:	Keiichi SHIMA <keiichi__at__iijlab.net>
Obtained from:	KAME
This commit is contained in:
Hajimu UMEMOTO 2005-07-21 14:57:53 +00:00
parent c649c6900b
commit 8507acb169
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=148241

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