summaryrefslogtreecommitdiff
path: root/lib/libc_r/uthread/uthread_join.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc_r/uthread/uthread_join.c')
-rw-r--r--lib/libc_r/uthread/uthread_join.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc_r/uthread/uthread_join.c b/lib/libc_r/uthread/uthread_join.c
index 1cf1624a884..0167427b570 100644
--- a/lib/libc_r/uthread/uthread_join.c
+++ b/lib/libc_r/uthread/uthread_join.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_join.c,v 1.8 2001/12/11 00:19:47 fgsch Exp $ */
+/* $OpenBSD: uthread_join.c,v 1.9 2001/12/19 02:02:52 fgsch Exp $ */
/*
* Copyright (c) 1995 John Birrell <jb@cimlogic.com.au>.
* All rights reserved.
@@ -134,7 +134,6 @@ pthread_join(pthread_t pthread, void **thread_return)
* joining to when it exits or detaches:
*/
ret = curthread->join_status.error;
- ret = curthread->join_status.error;
if ((ret == 0) && (thread_return != NULL))
*thread_return = curthread->join_status.ret;
} else {