summaryrefslogtreecommitdiff
path: root/sys/arch/mips64
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2014-06-18 20:03:56 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2014-06-18 20:03:56 +0000
commit2a70ff3acb7585d39bb5f4b146e153ba2f2b8c79 (patch)
tree97b317dd8b92cc52702013c962e093784687099b /sys/arch/mips64
parentf7927612f3f9942b68b4c1ed6aef7418454f68a4 (diff)
fix format string if DEBUG
Diffstat (limited to 'sys/arch/mips64')
-rw-r--r--sys/arch/mips64/mips64/cpu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mips64/mips64/cpu.c b/sys/arch/mips64/mips64/cpu.c
index 46d85d4b12b..30560b652cd 100644
--- a/sys/arch/mips64/mips64/cpu.c
+++ b/sys/arch/mips64/mips64/cpu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.c,v 1.54 2014/03/29 23:59:49 miod Exp $ */
+/* $OpenBSD: cpu.c,v 1.55 2014/06/18 20:03:55 miod Exp $ */
/*
* Copyright (c) 1997-2004 Opsycon AB (www.opsycon.se)
@@ -350,8 +350,8 @@ cpuattach(struct device *parent, struct device *dev, void *aux)
printf("cpu%d: L2 line size %d\n", cpuno, ci->ci_l2.linesize);
printf("cpu%d: cache configuration %x\n",
cpuno, ci->ci_cacheconfiguration);
- printf("cpu%d: virtual alias mask %p\n", cpuno, cache_valias_mask);
- printf("cpu%d: config register %016x, status register %016x\n",
+ printf("cpu%d: virtual alias mask 0x%lx\n", cpuno, cache_valias_mask);
+ printf("cpu%d: config register %016lx, status register %016lx\n",
cpuno, cp0_get_config(), getsr());
#endif
}