svn commit: r198204 - head/sys/dev/hwpmc

Rui Paulo rpaulo at FreeBSD.org
Sun Oct 18 13:51:50 UTC 2009


Author: rpaulo
Date: Sun Oct 18 13:51:49 2009
New Revision: 198204
URL: http://svn.freebsd.org/changeset/base/198204

Log:
  Fix KASSERT string to include the real module name.

Modified:
  head/sys/dev/hwpmc/hwpmc_mod.c

Modified: head/sys/dev/hwpmc/hwpmc_mod.c
==============================================================================
--- head/sys/dev/hwpmc/hwpmc_mod.c	Sun Oct 18 13:08:15 2009	(r198203)
+++ head/sys/dev/hwpmc/hwpmc_mod.c	Sun Oct 18 13:51:49 2009	(r198204)
@@ -504,7 +504,7 @@ pmc_ri_to_classdep(struct pmc_mdep *md, 
 	pcd = pmc_rowindex_to_classdep[ri];
 
 	KASSERT(pcd != NULL,
-	    ("[amd,%d] ri %d null pcd", __LINE__, ri));
+	    ("[pmc,%d] ri %d null pcd", __LINE__, ri));
 
 	*adjri = ri - pcd->pcd_ri;
 


More information about the svn-src-head mailing list