svn commit: r202655 - stable/7/lib/libpmc

Fabien Thomas fabient at FreeBSD.org
Tue Jan 19 20:56:57 UTC 2010


Author: fabient
Date: Tue Jan 19 20:56:57 2010
New Revision: 202655
URL: http://svn.freebsd.org/changeset/base/202655

Log:
  MFC 202157:
   Bug fix: add a missing initializer.

Modified:
  stable/7/lib/libpmc/libpmc.c
Directory Properties:
  stable/7/lib/libpmc/   (props changed)

Modified: stable/7/lib/libpmc/libpmc.c
==============================================================================
--- stable/7/lib/libpmc/libpmc.c	Tue Jan 19 20:55:57 2010	(r202654)
+++ stable/7/lib/libpmc/libpmc.c	Tue Jan 19 20:56:57 2010	(r202655)
@@ -2507,6 +2507,7 @@ pmc_init(void)
 		break;
 	case PMC_CPU_INTEL_CORE:
 		PMC_MDEP_INIT(core);
+		pmc_class_table[n] = &core_class_table_descr;
 		break;
 	case PMC_CPU_INTEL_CORE2:
 	case PMC_CPU_INTEL_CORE2EXTREME:


More information about the svn-src-all mailing list