1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03:00

(__pthread_reset_main_thread): Fix a typo.

This commit is contained in:
Ulrich Drepper
2001-06-16 02:53:06 +00:00
parent 08003272b8
commit 6f70c24ccb

View 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);
}
}