aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2022-01-17 01:27:15 +0000
committerEd Maste <emaste@FreeBSD.org>2022-01-22 18:39:05 +0000
commit2075d00fabb6d6a76c4829b9e027a496f04262b0 (patch)
treee9ac78791fea8b75912b02e485b32ef4b63a10b6
parenta393644ecbf05e27d613426cea524e1672aa339d (diff)
downloadsrc-2075d00fabb6d6a76c4829b9e027a496f04262b0.tar.gz
src-2075d00fabb6d6a76c4829b9e027a496f04262b0.zip
hwpmc: drop 0x before %p printf format string
%p already includes the 0x. Sponsored by: The FreeBSD Foundation
-rw-r--r--sys/dev/hwpmc/hwpmc_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/hwpmc/hwpmc_core.c b/sys/dev/hwpmc/hwpmc_core.c
index fadbbfae27d7..0be90665b1ff 100644
--- a/sys/dev/hwpmc/hwpmc_core.c
+++ b/sys/dev/hwpmc/hwpmc_core.c
@@ -1073,7 +1073,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;