diff options
-rw-r--r-- | linuxthreads/pthread.c | 2 |
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); } } |