about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-06-16 02:53:06 +0000
committerUlrich Drepper <drepper@redhat.com>2001-06-16 02:53:06 +0000
commit6f70c24ccbfd46cfc796e459e708cc3437ef3eb4 (patch)
tree28be5e8edfa5a97a2df9be70379131bf31907c7a
parent08003272b856d2f3ed504adcd8a8423357045938 (diff)
downloadglibc-6f70c24ccbfd46cfc796e459e708cc3437ef3eb4.tar.gz
glibc-6f70c24ccbfd46cfc796e459e708cc3437ef3eb4.tar.xz
glibc-6f70c24ccbfd46cfc796e459e708cc3437ef3eb4.zip
(__pthread_reset_main_thread): Fix a typo.
-rw-r--r--linuxthreads/pthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxthreads/pthread.c b/linuxthreads/pthread.c
index e48753b069..ea35c724d9 100644
--- a/linuxthreads/pthread.c
+++ b/linuxthreads/pthread.c
@@ -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);
   }
 }