From 9043e2288e8f61bf36b90f5790abf549782d1957 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 4 Oct 2012 16:31:43 -0700 Subject: Name space hygeine for madvise. --- nptl/pthread_create.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nptl/pthread_create.c') diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c index 6ba9c6fe11..197dfa7855 100644 --- a/nptl/pthread_create.c +++ b/nptl/pthread_create.c @@ -399,7 +399,7 @@ start_thread (void *arg) #endif assert (freesize < pd->stackblock_size); if (freesize > PTHREAD_STACK_MIN) - madvise (pd->stackblock, freesize - PTHREAD_STACK_MIN, MADV_DONTNEED); + __madvise (pd->stackblock, freesize - PTHREAD_STACK_MIN, MADV_DONTNEED); /* If the thread is detached free the TCB. */ if (IS_DETACHED (pd)) -- cgit 1.4.1