summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_mutex.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-05-31 21:11:01 +0000
committerphk <phk@FreeBSD.org>2003-05-31 21:11:01 +0000
commit11a69d36a047b1b668dd901c551f5a2817905b27 (patch)
treed41a1f5c0a54501a53f182b493c3b250b363a062 /sys/kern/kern_mutex.c
parentc414ef891501cc7f46ec2c38d84a475932d8db49 (diff)
downloadFreeBSD-src-11a69d36a047b1b668dd901c551f5a2817905b27.zip
FreeBSD-src-11a69d36a047b1b668dd901c551f5a2817905b27.tar.gz
Add "" around mutex name to make message less confusing.
Diffstat (limited to 'sys/kern/kern_mutex.c')
-rw-r--r--sys/kern/kern_mutex.c2
1 files changed, 1 insertions, 1 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;
OpenPOWER on IntegriCloud