(__pthread_reset_main_thread): Fix a typo.
authorUlrich Drepper <drepper@redhat.com>
Sat, 16 Jun 2001 02:53:06 +0000 (02:53 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 16 Jun 2001 02:53:06 +0000 (02:53 +0000)
linuxthreads/pthread.c

index e48753b..ea35c72 100644 (file)
@@ -884,7 +884,7 @@ void __pthread_reset_main_thread()
   if (getrlimit (RLIMIT_STACK, &limit) == 0
       && limit.rlim_cur != limit.rlim_max) {
     limit.rlim_cur = limit.rlim_max;
-    setrlimit (STACK_SIZE, &limit);
+    setrlimit(RLIMIT_STACK, &limit);
   }
 }