summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortobiasu <tobiasu@openbsd.org>2014-06-17 00:00:48 +0000
committertobiasu <tobiasu@openbsd.org>2014-06-17 00:00:48 +0000
commit21ea098eb7d17705d489f685b71142a8cf140826 (patch)
tree32e2ebbd9c04755214de379057e68f2d5a19f0b2
parentEnable PCI power management on Lemote. (diff)
downloadwireguard-openbsd-21ea098eb7d17705d489f685b71142a8cf140826.tar.xz
wireguard-openbsd-21ea098eb7d17705d489f685b71142a8cf140826.zip
Fix format string under MP_LOCKDEBUG
-rw-r--r--sys/arch/hppa/hppa/lock_machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/hppa/lock_machdep.c b/sys/arch/hppa/hppa/lock_machdep.c
index cbc29bc553b..53973363dff 100644
--- a/sys/arch/hppa/hppa/lock_machdep.c
+++ b/sys/arch/hppa/hppa/lock_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lock_machdep.c,v 1.5 2014/03/29 18:09:29 guenther Exp $ */
+/* $OpenBSD: lock_machdep.c,v 1.6 2014/06/17 00:00:48 tobiasu Exp $ */
/*
* Copyright (c) 2007 Artur Grabowski <art@openbsd.org>
@@ -89,7 +89,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