svn commit: r331272 - head/sys/kern
Gleb Smirnoff
glebius at FreeBSD.org
Tue Mar 20 22:05:21 UTC 2018
Author: glebius
Date: Tue Mar 20 22:05:21 2018
New Revision: 331272
URL: https://svnweb.freebsd.org/changeset/base/331272
Log:
At this point iwmesg isn't initialized yet, so print pointer to lock
rather than panic before panicing.
Modified:
head/sys/kern/kern_lock.c
Modified: head/sys/kern/kern_lock.c
==============================================================================
--- head/sys/kern/kern_lock.c Tue Mar 20 22:01:18 2018 (r331271)
+++ head/sys/kern/kern_lock.c Tue Mar 20 22:05:21 2018 (r331272)
@@ -722,8 +722,8 @@ lockmgr_xlock_hard(struct lock *lk, u_int flags, struc
class = LOCK_CLASS(ilk);
class->lc_unlock(ilk);
}
- panic("%s: recursing on non recursive lockmgr %s @ %s:%d\n",
- __func__, iwmesg, file, line);
+ panic("%s: recursing on non recursive lockmgr %p "
+ "@ %s:%d\n", __func__, lk, file, line);
}
lk->lk_recurse++;
LOCK_LOG2(lk, "%s: %p recursing", __func__, lk);
More information about the svn-src-all
mailing list