Date: Sat, 15 Nov 2008 10:56:36 +0000 (UTC) From: Joseph Koshy <jkoshy@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r184992 - head/sys/dev/hwpmc Message-ID: <200811151056.mAFAuas7017616@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jkoshy Date: Sat Nov 15 10:56:36 2008 New Revision: 184992 URL: http://svn.freebsd.org/changeset/base/184992 Log: Correct an indexing error (a change missed out in #184802). Modified: head/sys/dev/hwpmc/hwpmc_amd.c Modified: head/sys/dev/hwpmc/hwpmc_amd.c ============================================================================== --- head/sys/dev/hwpmc/hwpmc_amd.c Sat Nov 15 09:39:00 2008 (r184991) +++ head/sys/dev/hwpmc/hwpmc_amd.c Sat Nov 15 10:56:36 2008 (r184992) @@ -958,7 +958,7 @@ pmc_amd_initialize(void) for (i = 0; i < AMD_NPMCS; i++) { (void) snprintf(amd_pmcdesc[i].pm_descr.pd_name, sizeof(amd_pmcdesc[i].pm_descr.pd_name), "%s-%d", - name, i-1); + name, i); amd_pmcdesc[i].pm_descr.pd_class = class; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811151056.mAFAuas7017616>