diff options
author | 2014-09-19 11:40:16 +0000 | |
---|---|---|
committer | 2014-09-19 11:40:16 +0000 | |
commit | 80c856b140f2c258b4e00136aea96129f98f8d88 (patch) | |
tree | acec25438cdec0045565e336bff5a5b249b79592 /sys | |
parent | Move /etc/rc.conf from the etc to the base set. (diff) | |
download | wireguard-openbsd-80c856b140f2c258b4e00136aea96129f98f8d88.tar.xz wireguard-openbsd-80c856b140f2c258b4e00136aea96129f98f8d88.zip |
Use correct printf format when MP_LOCKDEBUG is defined.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/macppc/macppc/lock_machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/macppc/macppc/lock_machdep.c b/sys/arch/macppc/macppc/lock_machdep.c index b59004e7fc8..d0fc5428d1c 100644 --- a/sys/arch/macppc/macppc/lock_machdep.c +++ b/sys/arch/macppc/macppc/lock_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lock_machdep.c,v 1.3 2014/03/29 18:09:30 guenther Exp $ */ +/* $OpenBSD: lock_machdep.c,v 1.4 2014/09/19 11:40:16 mpi Exp $ */ /* * Copyright (c) 2007 Artur Grabowski <art@openbsd.org> @@ -58,7 +58,7 @@ __mp_lock_spin(struct __mp_lock *mpl) 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 |