Fix NETMAP code problem in the build.

This commit is contained in:
Jack F Vogel 2011-12-10 18:00:53 +00:00
parent 75c0e29ff3
commit 96b38ade36

View File

@ -4100,7 +4100,7 @@ em_setup_receive_ring(struct rx_ring *rxr)
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;