]> xenbits.xensource.com Git - people/julieng/freebsd.git/commitdiff
Oops - use the wrong array offset.
authoradrian <adrian@FreeBSD.org>
Wed, 28 Oct 2015 23:39:33 +0000 (23:39 +0000)
committeradrian <adrian@FreeBSD.org>
Wed, 28 Oct 2015 23:39:33 +0000 (23:39 +0000)
sys/mips/atheros/if_arge.c

index f93b7bd5dfc77a084ff353ea09883636c7eb676d..b300b705be10729cce085af787bf5475f0a1489e 100644 (file)
@@ -2485,7 +2485,7 @@ arge_intr(void *arg)
 #ifdef ARGE_DEBUG
        for (i = 0; i < 32; i++) {
                if (status & (1 << i)) {
-                       sc->intr_stats.count[1 << i]++;
+                       sc->intr_stats.count[i]++;
                }
        }
 #endif