From 9ac3988fe16fc0aeb5ddefdf28d1104237ec91ab Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 19 Sep 2016 00:20:29 +0200 Subject: Fix getrlimit visibility * pthread/pt-create.c (__pthread_create_internal): Call __getrlimit instead of getrlimit. --- pthread/pt-create.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3