summaryrefslogtreecommitdiff
path: root/libhurd-mm/mmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhurd-mm/mmap.c')
-rw-r--r--libhurd-mm/mmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libhurd-mm/mmap.c b/libhurd-mm/mmap.c
index bda87cf..425f6b4 100644
--- a/libhurd-mm/mmap.c
+++ b/libhurd-mm/mmap.c
@@ -77,8 +77,8 @@ mmap (void *addr, size_t length, int protect, int flags,
debug (5, "Trying to allocate memory %p-%p", addr, addr + length);
struct anonymous_pager *pager;
- pager = anonymous_pager_alloc (ADDR_VOID, addr, length, access,
- OBJECT_POLICY_DEFAULT,
+ pager = anonymous_pager_alloc (VG_ADDR_VOID, addr, length, access,
+ VG_OBJECT_POLICY_DEFAULT,
(flags & MAP_FIXED) ? ANONYMOUS_FIXED: 0,
NULL, &addr);
if (! pager)