Date: Thu, 01 Oct 2009 12:33:50 +0200 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no> To: Coleman Kane <cokane@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r197654 - head/sys/dev/if_ndis Message-ID: <86eipno12p.fsf@ds4.des.no> In-Reply-To: <200910010243.n912hpSM034846@svn.freebsd.org> (Coleman Kane's message of "Thu, 1 Oct 2009 02:43:51 %2B0000 (UTC)") References: <200910010243.n912hpSM034846@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Coleman Kane <cokane@FreeBSD.org> writes: > - if (sc->ndis_80211 && vap) > + if ((sc->ndis_80211 !=3D NULL) && (vap !=3D NULL)) sc->ndis_80211 is an int. NULL is a pointer. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86eipno12p.fsf>