summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_mutex.c
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2003-05-06 02:30:52 +0000
committermtm <mtm@FreeBSD.org>2003-05-06 02:30:52 +0000
commitda28dc62d70922594e0170d771312b4fb8455eaa (patch)
tree41cdb33e3d86891f0025c2db7aeb31a998f12877 /lib/libthr/thread/thr_mutex.c
parent666b989d296f6a35f0b59eefaca95348178fb695 (diff)
downloadFreeBSD-src-da28dc62d70922594e0170d771312b4fb8455eaa.zip
FreeBSD-src-da28dc62d70922594e0170d771312b4fb8455eaa.tar.gz
o Correct a debug message that refered to the wrong function
o Remove an unncecesary if clause Approved by: markm (mentor)(implicit) Reviewd by: jeff
Diffstat (limited to 'lib/libthr/thread/thr_mutex.c')
-rw-r--r--lib/libthr/thread/thr_mutex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_mutex.c b/lib/libthr/thread/thr_mutex.c
index 67b137d..af7d505 100644
--- a/lib/libthr/thread/thr_mutex.c
+++ b/lib/libthr/thread/thr_mutex.c
@@ -471,7 +471,7 @@ mutex_lock_common(pthread_mutex_t * mutex)
int ret = 0;
PTHREAD_ASSERT((mutex != NULL) && (*mutex != NULL),
- "Uninitialized mutex in pthread_mutex_trylock_basic");
+ "Uninitialized mutex in mutex_lock_common");
/*
* Enter a loop waiting to become the mutex owner. We need a
OpenPOWER on IntegriCloud