summaryrefslogtreecommitdiff
path: root/create.c
diff options
context:
space:
mode:
Diffstat (limited to 'create.c')
-rw-r--r--create.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/create.c b/create.c
index 91b81a4..dc54c37 100644
--- a/create.c
+++ b/create.c
@@ -40,7 +40,8 @@ _pthread_start_call(void * us_arg)
ret = (*func)(arg);
- pthread_exit(NULL);
+ _pthread_exit(NULL, ret);
+
/* Never Reached */
}