Date: Wed, 28 Oct 2015 23:39:34 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r290123 - head/sys/mips/atheros Message-ID: <201510282339.t9SNdY1X062211@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510282339.t9SNdY1X062211>