summaryrefslogtreecommitdiff
path: root/lib/scudo
diff options
context:
space:
mode:
Diffstat (limited to 'lib/scudo')
-rw-r--r--lib/scudo/standalone/fuchsia.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/scudo/standalone/fuchsia.cc b/lib/scudo/standalone/fuchsia.cc
index 7a07ccd14..e54563138 100644
--- a/lib/scudo/standalone/fuchsia.cc
+++ b/lib/scudo/standalone/fuchsia.cc
@@ -80,7 +80,7 @@ void *map(void *Addr, uptr Size, const char *Name, uptr Flags,
}
} else {
// Otherwise, create a Vmo and set its name.
- Status = _zx_vmo_create(Size, 0, &Vmo);
+ Status = _zx_vmo_create(Size, ZX_VMO_RESIZABLE, &Vmo);
if (Status != ZX_OK) {
if (Status != ZX_ERR_NO_MEMORY || !AllowNoMem)
dieOnMapUnmapError(Status == ZX_ERR_NO_MEMORY);