summaryrefslogtreecommitdiff
path: root/sys/dev/tprof
diff options
context:
space:
mode:
authorrin <rin@NetBSD.org>2020-02-24 12:38:57 +0000
committerrin <rin@NetBSD.org>2020-02-24 12:38:57 +0000
commit9c8aa8551a641fe8a40f32c0b4122ef15df248d3 (patch)
tree1cbc30148e458237f37a8fba2667378800c47cb7 /sys/dev/tprof
parent0ead1e8cf6ed4b240c3338305cd5a74ac92856ee (diff)
0x%#x --> %#x for non-external codes.
Also, stop mixing up 0x%x and %#x in single files as far as possible.
Diffstat (limited to 'sys/dev/tprof')
-rw-r--r--sys/dev/tprof/tprof_armv7.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/tprof/tprof_armv7.c b/sys/dev/tprof/tprof_armv7.c
index 5a7edab029f..9a182856a35 100644
--- a/sys/dev/tprof/tprof_armv7.c
+++ b/sys/dev/tprof/tprof_armv7.c
@@ -1,4 +1,4 @@
-/* $NetBSD: tprof_armv7.c,v 1.2 2018/07/16 10:56:42 jmcneill Exp $ */
+/* $NetBSD: tprof_armv7.c,v 1.3 2020/02/24 12:38:57 rin Exp $ */
/*-
* Copyright (c) 2018 Jared McNeill <jmcneill@invisible.ca>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tprof_armv7.c,v 1.2 2018/07/16 10:56:42 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tprof_armv7.c,v 1.3 2020/02/24 12:38:57 rin Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -173,7 +173,7 @@ armv7_pmu_start(const tprof_param_t *param)
uint64_t xc;
if (!armv7_pmu_event_implemented(param->p_event)) {
- printf("%s: event 0x%#llx not implemented on this CPU\n",
+ printf("%s: event %#llx not implemented on this CPU\n",
__func__, param->p_event);
return EINVAL;
}