diff options
Diffstat (limited to 'kern/condition.c')
-rw-r--r-- | kern/condition.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/condition.c b/kern/condition.c index e2c26b62..0a8c78d7 100644 --- a/kern/condition.c +++ b/kern/condition.c @@ -35,7 +35,7 @@ condition_wait_common(struct condition *condition, struct mutex *mutex, struct sleepq *sleepq; int error; - mutex_assert_locked(mutex); + assert(mutex_locked(mutex)); sleepq = sleepq_lend(condition, true); |