summaryrefslogtreecommitdiff
path: root/kern/mutex_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'kern/mutex_i.h')
-rw-r--r--kern/mutex_i.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/mutex_i.h b/kern/mutex_i.h
index aaaf7cad..5e78a4da 100644
--- a/kern/mutex_i.h
+++ b/kern/mutex_i.h
@@ -77,7 +77,7 @@ mutex_wait(struct mutex *mutex, struct mutex_waiter *waiter)
unsigned int state;
do {
- thread_sleep(&mutex->lock);
+ thread_sleep(&mutex->lock, mutex, "mutex");
state = mutex_tryacquire_slow(mutex);
} while (state != MUTEX_UNLOCKED);