summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2010-09-19 08:55:36 +0000
committerdavidxu <davidxu@FreeBSD.org>2010-09-19 08:55:36 +0000
commit5418a235978733112ea2f114b3826d95346409e8 (patch)
tree7f86e173423458025a4d3bb251eb76fcdbca042d /lib/libthr/thread
parentd94a5ef824af03d7acb020d7d361ae67edd353f4 (diff)
downloadFreeBSD-src-5418a235978733112ea2f114b3826d95346409e8.zip
FreeBSD-src-5418a235978733112ea2f114b3826d95346409e8.tar.gz
Fix typo.
Diffstat (limited to 'lib/libthr/thread')
-rw-r--r--lib/libthr/thread/thr_join.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_join.c b/lib/libthr/thread/thr_join.c
index 4f26862..a39ff67 100644
--- a/lib/libthr/thread/thr_join.c
+++ b/lib/libthr/thread/thr_join.c
@@ -48,7 +48,7 @@ static void backout_join(void *arg)
THR_THREAD_LOCK(curthread, pthread);
pthread->joiner = NULL;
- THR_THREAD_LOCK(curthread, pthread);
+ THR_THREAD_UNLOCK(curthread, pthread);
}
int
OpenPOWER on IntegriCloud