diff options
author | Ed Maste <emaste@FreeBSD.org> | 2022-01-17 01:27:15 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2022-02-08 20:00:55 +0000 |
commit | 43f704843ba24c63c487ce329202f9a44f7f83ab (patch) | |
tree | d1c7f0e6d4e6ac9b19b8a970f49c9181faca9a42 | |
parent | 1b69d2aedc687b441ff2e2fb2298fc8ebaec9edd (diff) | |
download | src-43f704843ba24c63c487ce329202f9a44f7f83ab.tar.gz src-43f704843ba24c63c487ce329202f9a44f7f83ab.zip |
hwpmc: drop 0x before %p printf format string
%p already includes the 0x.
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 2075d00fabb6d6a76c4829b9e027a496f04262b0)
-rw-r--r-- | sys/dev/hwpmc/hwpmc_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/hwpmc/hwpmc_core.c b/sys/dev/hwpmc/hwpmc_core.c index a0263c783df5..a1d5b02d0cc5 100644 --- a/sys/dev/hwpmc/hwpmc_core.c +++ b/sys/dev/hwpmc/hwpmc_core.c @@ -1077,7 +1077,7 @@ core_intr(struct trapframe *tf) int error, found_interrupt, ri; uint64_t msr; - PMCDBG3(MDP,INT, 1, "cpu=%d tf=0x%p um=%d", curcpu, (void *) tf, + PMCDBG3(MDP,INT, 1, "cpu=%d tf=%p um=%d", curcpu, (void *) tf, TRAPF_USERMODE(tf)); found_interrupt = 0; |