summaryrefslogtreecommitdiff
path: root/sys/kern/kern_lock.c
diff options
context:
space:
mode:
authorKip Macy <kmacy@FreeBSD.org>2006-11-12 03:30:01 +0000
committerKip Macy <kmacy@FreeBSD.org>2006-11-12 03:30:01 +0000
commit54e57f76130a7a623d35fcf6f5a6c93a35791d3f (patch)
treee382e5de37acf6bd4587afc7bf1c65972d05ebfc /sys/kern/kern_lock.c
parent812fb4a89fc46249c08964142d5f873c51504f04 (diff)
Notes
Diffstat (limited to 'sys/kern/kern_lock.c')
-rw-r--r--sys/kern/kern_lock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/kern_lock.c b/sys/kern/kern_lock.c
index 96936c567200..952167aeea8f 100644
--- a/sys/kern/kern_lock.c
+++ b/sys/kern/kern_lock.c
@@ -166,6 +166,8 @@ _lockmgr(struct lock *lkp, int flags, struct mtx *interlkp,
thr = td;
lock_profile_waitstart(&waitstart);
+
+ lkp->lk_object.lo_type = "lockmgr";
if ((flags & LK_INTERNAL) == 0)
mtx_lock(lkp->lk_interlock);
CTR6(KTR_LOCK,