diff options
author | Elliott Hughes <enh@google.com> | 2014-07-17 15:09:17 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-07-17 15:09:17 -0700 |
commit | 2f9c6e38b8f59ea6e53e95e062e04dc987ac67f3 (patch) | |
tree | 357f52fa44154578044df31cf4ee3e281d206201 | |
parent | 169e2bf6bd092ea3599cfe3426766988ec66658a (diff) | |
download | bionic-2f9c6e38b8f59ea6e53e95e062e04dc987ac67f3.zip bionic-2f9c6e38b8f59ea6e53e95e062e04dc987ac67f3.tar.gz bionic-2f9c6e38b8f59ea6e53e95e062e04dc987ac67f3.tar.bz2 |
Fix private/bionic_name_mem.h build breakage.
Change-Id: I8fe9c63dbbb5911721ca56791c0bff4bdf403314
-rw-r--r-- | libc/bionic/dlmalloc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/bionic/dlmalloc.c b/libc/bionic/dlmalloc.c index 7ecca1d..d582071 100644 --- a/libc/bionic/dlmalloc.c +++ b/libc/bionic/dlmalloc.c @@ -16,7 +16,6 @@ #include "dlmalloc.h" -#include "private/bionic_name_mem.h" #include "private/libc_logging.h" // Send dlmalloc errors to the log. @@ -56,6 +55,6 @@ static void* named_anonymous_mmap(size_t length) { if (map == MAP_FAILED) { return map; } - prctl(BIONIC_PR_SET_VMA, BIONIC_PR_SET_VMA_ANON_NAME, map, length, "libc_malloc"); + prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, map, length, "libc_malloc"); return map; } |