summaryrefslogtreecommitdiff
path: root/libc/malloc/arena.c
diff options
context:
space:
mode:
authorjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2012-10-10 15:35:46 +0000
committerjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2012-10-10 15:35:46 +0000
commit2d32c4f00084f68a390e8fa4291acb49e9c0df8e (patch)
tree00964019e9307917f730b8c6b817f0cb9496a167 /libc/malloc/arena.c
parent7dfcd4332472afda13e2ea9c0eaba15a08d8351e (diff)
downloadeglibc2-2d32c4f00084f68a390e8fa4291acb49e9c0df8e.tar.gz
Merge changes between r20863 and r21108 from /fsf/trunk.
git-svn-id: svn://svn.eglibc.org/trunk@21109 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/malloc/arena.c')
-rw-r--r--libc/malloc/arena.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/malloc/arena.c b/libc/malloc/arena.c
index b209e3b7c..eb9180eb9 100644
--- a/libc/malloc/arena.c
+++ b/libc/malloc/arena.c
@@ -634,7 +634,7 @@ shrink_heap(heap_info *h, long diff)
h->mprotect_size = new_size;
}
else
- madvise ((char *)h + new_size, diff, MADV_DONTNEED);
+ __madvise ((char *)h + new_size, diff, MADV_DONTNEED);
/*fprintf(stderr, "shrink %p %08lx\n", h, new_size);*/
h->size = new_size;