From 6f70c24ccbfd46cfc796e459e708cc3437ef3eb4 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 16 Jun 2001 02:53:06 +0000 Subject: (__pthread_reset_main_thread): Fix a typo. --- linuxthreads/pthread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linuxthreads') 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); } } -- cgit 1.4.1