From 0d88706547762bfbb76f499d845e89e981760f97 Mon Sep 17 00:00:00 2001 From: Luigi Rizzo Date: Wed, 28 May 2014 06:50:16 +0000 Subject: [PATCH] reference the correct variable in a comment MFC after: 3 days --- sys/dev/e1000/if_igb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/e1000/if_igb.c b/sys/dev/e1000/if_igb.c index d6e4de579760..2322e569bef2 100644 --- a/sys/dev/e1000/if_igb.c +++ b/sys/dev/e1000/if_igb.c @@ -4331,7 +4331,7 @@ igb_setup_receive_ring(struct rx_ring *rxr) rxbuf = &rxr->rx_buffers[j]; #ifdef DEV_NETMAP if (slot) { - /* slot sj is mapped to the i-th NIC-ring entry */ + /* slot sj is mapped to the j-th NIC-ring entry */ int sj = netmap_idx_n2k(&na->rx_rings[rxr->me], j); uint64_t paddr; void *addr;