summaryrefslogtreecommitdiff
path: root/sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'sync.c')
-rw-r--r--sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sync.c b/sync.c
index 597cc47..5152de8 100644
--- a/sync.c
+++ b/sync.c
@@ -168,7 +168,7 @@ pthread_join (pthread_t thread, void **value_ptr)
*/
if (value_ptr != NULL)
{
- *value_ptr = self->exitStatus;
+ *value_ptr = thread->exitStatus;
}
/*