2003-03-21 Jakub Jelinek <jakub@redhat.com>
authorRoland McGrath <roland@gnu.org>
Fri, 21 Mar 2003 20:37:16 +0000 (20:37 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 21 Mar 2003 20:37:16 +0000 (20:37 +0000)
* sysdeps/i386/tls.h [__ASSUME_SET_THREAD_AREA_SYSCALL]
(TLS_SETUP_GS_SEGMENT): Fix a typo.

linuxthreads/sysdeps/i386/tls.h

index 118c9c0..01965f7 100644 (file)
@@ -171,7 +171,7 @@ TLS_DO_MODIFY_LDT_KERNEL_CHECK(                                                   \
 
 #  ifdef __ASSUME_SET_THREAD_AREA_SYSCALL
 #   define TLS_SETUP_GS_SEGMENT(descr, secondcall)                           \
-  (TLS_DO_SET_THREAD_AREA (descr, firstcall)                                 \
+  (TLS_DO_SET_THREAD_AREA (descr, secondcall)                                \
    ? "set_thread_area failed when setting up thread-local storage" : NULL)
 #  elif defined __NR_set_thread_area
 #   define TLS_SETUP_GS_SEGMENT(descr, secondcall) \