Author: jfv
Date: Sat Dec 10 18:00:53 2011
New Revision: 228393
URL: http://svn.freebsd.org/changeset/base/228393

Log:
  Fix NETMAP code problem in the build.

Modified:
  head/sys/dev/e1000/if_em.c

Modified: head/sys/dev/e1000/if_em.c
==============================================================================
--- head/sys/dev/e1000/if_em.c  Sat Dec 10 13:02:52 2011        (r228392)
+++ head/sys/dev/e1000/if_em.c  Sat Dec 10 18:00:53 2011        (r228393)
@@ -4100,7 +4100,7 @@ em_setup_receive_ring(struct rx_ring *rx
        if (sj < 0)
                sj += adapter->num_rx_desc;
 
-       for (j = 0; j != adapter->num_rx_desc; j++, sj++) {
+       for (int j = 0; j != adapter->num_rx_desc; j++, sj++) {
                void *addr;
                int sz;
 
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to