svn commit: r228393 - head/sys/dev/e1000

Jack F Vogel jfv at FreeBSD.org
Sat Dec 10 18:00:53 UTC 2011


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;
 


More information about the svn-src-head mailing list