diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-09-19 11:40:17 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-09-19 11:40:17 +0000 |
commit | b438a44a34b569f3c9ab9479e5dcadd0fa9cd0f1 (patch) | |
tree | dda2d9ed25424e306c200214d9c1c5429ce4b695 /sys/arch/macppc | |
parent | 14bd661a377b46c36376ae2ef62d3f7d17423e18 (diff) |
Use correct printf format when MP_LOCKDEBUG is defined.
Diffstat (limited to 'sys/arch/macppc')
-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 |