diff options
Diffstat (limited to 'sys/kern/kern_sema.c')
-rw-r--r-- | sys/kern/kern_sema.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_sema.c b/sys/kern/kern_sema.c index cb47ba9..61435bd 100644 --- a/sys/kern/kern_sema.c +++ b/sys/kern/kern_sema.c @@ -50,7 +50,7 @@ sema_init(struct sema *sema, int value, const char *description) KASSERT((value >= 0), ("%s(): negative value\n", __func__)); bzero(sema, sizeof(*sema)); - mtx_init(&sema->sema_mtx, "sema backing lock", + mtx_init(&sema->sema_mtx, description, "sema backing lock", MTX_DEF | MTX_NOWITNESS | MTX_QUIET); cv_init(&sema->sema_cv, description); sema->sema_value = value; |