Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Oct 2009 13:51:49 +0000 (UTC)
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r198204 - head/sys/dev/hwpmc
Message-ID:  <200910181351.n9IDpns6070668@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910181351.n9IDpns6070668>