summaryrefslogtreecommitdiff
path: root/libpager/lock-object.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpager/lock-object.c')
-rw-r--r--libpager/lock-object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpager/lock-object.c b/libpager/lock-object.c
index 75d1ccb3..72279eaf 100644
--- a/libpager/lock-object.c
+++ b/libpager/lock-object.c
@@ -66,7 +66,7 @@ _pager_lock_object (struct pager *p,
memory_object_lock_request (p->memobjcntl, offset, size, should_return,
should_flush, lock_value,
- sync ? p->port.port : MACH_PORT_NULL);
+ sync ? p->port.port_right : MACH_PORT_NULL);
if (sync)
{