diff options
author | adrian <adrian@FreeBSD.org> | 2008-03-18 08:36:19 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2008-03-18 08:36:19 +0000 |
commit | 26e3101bd970c1bf9ffd781cd07ea7a57c1c2554 (patch) | |
tree | 9a9aaa464f2358ee77cebf66066c57d1ae2221e8 /sys/dev/hwpmc | |
parent | 4e9b2a2931712b722c3954fa39b4385f0d710b6c (diff) | |
download | FreeBSD-src-26e3101bd970c1bf9ffd781cd07ea7a57c1c2554.zip FreeBSD-src-26e3101bd970c1bf9ffd781cd07ea7a57c1c2554.tar.gz |
Fix the debugging output - the '0x' was duplicated from the %p option.
Diffstat (limited to 'sys/dev/hwpmc')
-rw-r--r-- | sys/dev/hwpmc/hwpmc_amd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/hwpmc/hwpmc_amd.c b/sys/dev/hwpmc/hwpmc_amd.c index 3576234..26216be 100644 --- a/sys/dev/hwpmc/hwpmc_amd.c +++ b/sys/dev/hwpmc/hwpmc_amd.c @@ -683,7 +683,7 @@ amd_intr(int cpu, struct trapframe *tf) KASSERT(cpu >= 0 && cpu < mp_ncpus, ("[amd,%d] out of range CPU %d", __LINE__, cpu)); - PMCDBG(MDP,INT,1, "cpu=%d tf=0x%p um=%d", cpu, (void *) tf, + PMCDBG(MDP,INT,1, "cpu=%d tf=%p um=%d", cpu, (void *) tf, TRAPF_USERMODE(tf)); retval = 0; |