svn commit: r197654 - head/sys/dev/if_ndis
Coleman Kane
cokane at FreeBSD.org
Thu Oct 1 13:13:08 UTC 2009
On Thu, 2009-10-01 at 12:33 +0200, Dag-Erling Smørgrav wrote:
> Coleman Kane <cokane at FreeBSD.org> writes:
> > - if (sc->ndis_80211 && vap)
> > + if ((sc->ndis_80211 != NULL) && (vap != NULL))
>
> sc->ndis_80211 is an int. NULL is a pointer.
>
> DES
Thanks, fix committed... I know style(9) says I should have not bothered
with the commit, but the assume-that-zero-is-false logic seemed
egregious enough at the time to warrant correcting it.
I just corrected it improperly in my haste. Enjoy being able to
buildkernel again. I'll be sitting in the corner.
--
Coleman Kane
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20091001/948de7d1/attachment.pgp
More information about the svn-src-all
mailing list