Date: Sat, 22 Jan 2022 18:39:30 GMT From: Ed Maste <emaste@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 2075d00fabb6 - main - hwpmc: drop 0x before %p printf format string Message-ID: <202201221839.20MIdUZx019946@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=2075d00fabb6d6a76c4829b9e027a496f04262b0 commit 2075d00fabb6d6a76c4829b9e027a496f04262b0 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2022-01-17 01:27:15 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2022-01-22 18:39:05 +0000 hwpmc: drop 0x before %p printf format string %p already includes the 0x. Sponsored by: The FreeBSD Foundation --- sys/dev/hwpmc/hwpmc_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201221839.20MIdUZx019946>