X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/7ee9d059c4eecf68ae4f8b0fb99ae2471eda79af..ebb1b9f42b62218f29061826217bb0f71cd375a6:/osfmk/i386/locks_i386.c diff --git a/osfmk/i386/locks_i386.c b/osfmk/i386/locks_i386.c index 3f94ba02b..ef38300e4 100644 --- a/osfmk/i386/locks_i386.c +++ b/osfmk/i386/locks_i386.c @@ -489,10 +489,9 @@ usld_lock_common_checks( if (l == USIMPLE_LOCK_NULL) panic("%s: null lock pointer", caller); if (l->lock_type != USLOCK_TAG) - panic("%s: 0x%p is not a usimple lock", caller, l); + panic("%s: %p is not a usimple lock, 0x%x", caller, l, l->lock_type); if (!(l->debug.state & USLOCK_INIT)) - panic("%s: %p is not an initialized lock", - caller, l); + panic("%s: %p is not an initialized lock, 0x%x", caller, l, l->debug.state); return USLOCK_CHECKING(l); }