diff options
Diffstat (limited to 'deps/jemalloc/src/extent_mmap.c')
-rw-r--r-- | deps/jemalloc/src/extent_mmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/jemalloc/src/extent_mmap.c b/deps/jemalloc/src/extent_mmap.c index 8d607dc80..17fd1c8f9 100644 --- a/deps/jemalloc/src/extent_mmap.c +++ b/deps/jemalloc/src/extent_mmap.c @@ -21,8 +21,8 @@ bool opt_retain = void * extent_alloc_mmap(void *new_addr, size_t size, size_t alignment, bool *zero, bool *commit) { - void *ret = pages_map(new_addr, size, ALIGNMENT_CEILING(alignment, - PAGE), commit); + assert(alignment == ALIGNMENT_CEILING(alignment, PAGE)); + void *ret = pages_map(new_addr, size, alignment, commit); if (ret == NULL) { return NULL; } |