mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-25 11:37:56 +00:00
At this point iwmesg isn't initialized yet, so print pointer to lock
rather than panic before panicing.
This commit is contained in:
parent
4e96c99bdf
commit
83fc34ea0d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=331272
@ -722,8 +722,8 @@ lockmgr_xlock_hard(struct lock *lk, u_int flags, struct lock_object *ilk,
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user