1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

Name space hygeine for madvise.

This commit is contained in:
Roland McGrath
2012-10-04 16:31:43 -07:00
parent f57f805541
commit 9043e2288e
11 changed files with 38 additions and 13 deletions

View File

@ -4450,7 +4450,7 @@ static int mtrim(mstate av, size_t pad)
content. */
memset (paligned_mem, 0x89, size & ~psm1);
#endif
madvise (paligned_mem, size & ~psm1, MADV_DONTNEED);
__madvise (paligned_mem, size & ~psm1, MADV_DONTNEED);
result = 1;
}