summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pthread/pt-create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pthread/pt-create.c b/pthread/pt-create.c
index d88afae..417605a 100644
--- a/pthread/pt-create.c
+++ b/pthread/pt-create.c
@@ -107,7 +107,7 @@ __pthread_create_internal (struct __pthread **thread,
if (!stacksize)
{
struct rlimit rlim;
- getrlimit(RLIMIT_STACK, &rlim);
+ __getrlimit(RLIMIT_STACK, &rlim);
if (rlim.rlim_cur != RLIM_INFINITY)
stacksize = rlim.rlim_cur;
if (!stacksize)