Date: Thu, 10 Sep 2009 21:16:26 +0000 (UTC) From: Jack F Vogel <jfv@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r197079 - head/sys/dev/e1000 Message-ID: <200909102116.n8ALGQ64031395@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jfv Date: Thu Sep 10 21:16:26 2009 New Revision: 197079 URL: http://svn.freebsd.org/changeset/base/197079 Log: Fix build issue with last commit. Modified: head/sys/dev/e1000/if_igb.c Modified: head/sys/dev/e1000/if_igb.c ============================================================================== --- head/sys/dev/e1000/if_igb.c Thu Sep 10 21:14:55 2009 (r197078) +++ head/sys/dev/e1000/if_igb.c Thu Sep 10 21:16:26 2009 (r197079) @@ -854,7 +854,7 @@ igb_mq_start_locked(struct ifnet *ifp, s /* If nothing queued go right to xmit */ if (drbr_empty(ifp, txr->br)) { - if (err = igb_xmit(txr, &m)) { + if ((err = igb_xmit(txr, &m)) != 0) { if (m != NULL) err = drbr_enqueue(ifp, txr->br, m); return (err); @@ -881,7 +881,7 @@ process: next = drbr_dequeue(ifp, txr->br); if (next == NULL) break; - if (err = igb_xmit(txr, &next)) { + if ((err = igb_xmit(txr, &next)) != 0) { if (next != NULL) err = drbr_enqueue(ifp, txr->br, next); break;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909102116.n8ALGQ64031395>