summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2015-06-25 00:53:20 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2015-06-25 00:53:20 +0000
commit1283eb5f3140033d4c464d72db392b6386fd8712 (patch)
tree298af4d1d6a122e49eea24dbcc83ca5b1464d3c9 /sys/arch/sparc64
parent2951541c28c46d326cbebfd455efcc4b384739f3 (diff)
fix format string in MP_LOCKDEBUG code
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/sparc64/lock_machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/sparc64/lock_machdep.c b/sys/arch/sparc64/sparc64/lock_machdep.c
index 2fc32cf5244..4a4211f8296 100644
--- a/sys/arch/sparc64/sparc64/lock_machdep.c
+++ b/sys/arch/sparc64/sparc64/lock_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lock_machdep.c,v 1.9 2015/02/11 04:38:26 dlg Exp $ */
+/* $OpenBSD: lock_machdep.c,v 1.10 2015/06/25 00:53:19 dlg Exp $ */
/*
* Copyright (c) 2007 Artur Grabowski <art@openbsd.org>
@@ -99,7 +99,7 @@ __mp_lock_spin(struct __mp_lock *mpl, u_int me)
SPINLOCK_SPIN_HOOK;
if (ticks == 0) {
- db_printf("__mp_lock(0x%x): lock spun out", mpl);
+ db_printf("__mp_lock(%p): lock spun out", mpl);
Debugger();
}
#endif