From: Ulrich Drepper Date: Sat, 16 Jun 2001 02:53:06 +0000 (+0000) Subject: (__pthread_reset_main_thread): Fix a typo. X-Git-Tag: cvs/pre-lgplv2_1~69 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6f70c24ccbfd46cfc796e459e708cc3437ef3eb4;p=thirdparty%2Fglibc.git (__pthread_reset_main_thread): Fix a typo. --- diff --git a/linuxthreads/pthread.c b/linuxthreads/pthread.c index e48753b0694..ea35c724d96 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); } }