svn commit: r290123 - head/sys/mips/atheros
Adrian Chadd
adrian at FreeBSD.org
Wed Oct 28 23:39:35 UTC 2015
Author: adrian
Date: Wed Oct 28 23:39:33 2015
New Revision: 290123
URL: https://svnweb.freebsd.org/changeset/base/290123
Log:
Oops - use the wrong array offset.
Modified:
head/sys/mips/atheros/if_arge.c
Modified: head/sys/mips/atheros/if_arge.c
==============================================================================
--- head/sys/mips/atheros/if_arge.c Wed Oct 28 22:57:51 2015 (r290122)
+++ head/sys/mips/atheros/if_arge.c Wed Oct 28 23:39:33 2015 (r290123)
@@ -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
More information about the svn-src-all
mailing list