summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/kern_mutex.c2
-rw-r--r--sys/kern/subr_turnstile.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_mutex.c b/sys/kern/kern_mutex.c
index a2617f9..a139d53 100644
--- a/sys/kern/kern_mutex.c
+++ b/sys/kern/kern_mutex.c
@@ -915,7 +915,7 @@ mtx_init(struct mtx *m, const char *name, const char *type, int opts)
lock = &m->mtx_object;
KASSERT((lock->lo_flags & LO_INITIALIZED) == 0,
- ("mutex %s %p already initialized", name, m));
+ ("mutex \"%s\" %p already initialized", name, m));
bzero(m, sizeof(*m));
if (opts & MTX_SPIN)
lock->lo_class = &lock_class_mtx_spin;
diff --git a/sys/kern/subr_turnstile.c b/sys/kern/subr_turnstile.c
index a2617f9..a139d53 100644
--- a/sys/kern/subr_turnstile.c
+++ b/sys/kern/subr_turnstile.c
@@ -915,7 +915,7 @@ mtx_init(struct mtx *m, const char *name, const char *type, int opts)
lock = &m->mtx_object;
KASSERT((lock->lo_flags & LO_INITIALIZED) == 0,
- ("mutex %s %p already initialized", name, m));
+ ("mutex \"%s\" %p already initialized", name, m));
bzero(m, sizeof(*m));
if (opts & MTX_SPIN)
lock->lo_class = &lock_class_mtx_spin;
OpenPOWER on IntegriCloud