about summary refs log tree commit diff
path: root/linuxthreads/pthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/pthread.c')
-rw-r--r--linuxthreads/pthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxthreads/pthread.c b/linuxthreads/pthread.c
index 38bf197a62..1e650f4e46 100644
--- a/linuxthreads/pthread.c
+++ b/linuxthreads/pthread.c
@@ -513,7 +513,7 @@ int __pthread_create_2_1(pthread_t *thread, const pthread_attr_t *attr,
               &request.req_args.create.mask);
   __libc_write(__pthread_manager_request, (char *) &request, sizeof(request));
   suspend(self);
-  retval = THREAD_GETMEM(self, p_retcode;
+  retval = THREAD_GETMEM(self, p_retcode);
   if (retval == 0)
     *thread = (pthread_t) THREAD_GETMEM(self, p_retval);
   return retval;