Date: Thu, 16 Mar 2006 16:32:56 +0000 (UTC) From: Joseph Koshy <jkoshy@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/hwpmc hwpmc_mod.c Message-ID: <200603161632.k2GGWuH8080843@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jkoshy 2006-03-16 16:32:56 UTC
FreeBSD src repository
Modified files:
sys/dev/hwpmc hwpmc_mod.c
Log:
When compiled with -DDEBUG, only print the old value of a PMC in a
debugging message if the flag PMC_F_OLDVALUE was specified in the
PMC_OP_RW request being acted upon. This should fix Coverity bug
CID 671.
Found by: Coverity Prevent
MFC after: 3 weeks
Revision Changes Path
1.20 +1 -1 src/sys/dev/hwpmc/hwpmc_mod.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603161632.k2GGWuH8080843>
