From 13ae0a375d45ec92bb6e563b5ba041484216407e Mon Sep 17 00:00:00 2001 From: dlg Date: Thu, 25 Jun 2015 00:53:19 +0000 Subject: [PATCH] fix format string in MP_LOCKDEBUG code --- sys/arch/sparc64/sparc64/lock_machdep.c | 4 ++-- 1 file 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 @@ -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 -- 2.20.1