commit | b8b79b75ef6f2814a7f22f37b0924d292c404c0a | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Jun 20 16:35:01 2019 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Jun 20 16:35:01 2019 +0000 |
tree | 1f55995f55e8f47b6fee12fda3ecc5f568509cf6 | |
parent | 8fef03f6091e80d9da83ffa31e31ad2015fd97c6 [diff] | |
parent | 50080a29f7327fcd009344844bb9e643b2d6b9c3 [diff] |
Merge "Remove the ___ hack."
diff --git a/tests/malloc_test.cpp b/tests/malloc_test.cpp index 983592f..f69e598 100644 --- a/tests/malloc_test.cpp +++ b/tests/malloc_test.cpp
@@ -328,7 +328,7 @@ TEST(malloc, valloc_std) { size_t pagesize = sysconf(_SC_PAGESIZE); - void* ptr = pvalloc(100); + void* ptr = valloc(100); ASSERT_TRUE(ptr != nullptr); ASSERT_TRUE((reinterpret_cast<uintptr_t>(ptr) & (pagesize-1)) == 0); free(ptr);