summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpager/lock-object.c2
-rw-r--r--libpager/pager-shutdown.c2
2 files changed, 2 insertions, 2 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)
{
diff --git a/libpager/pager-shutdown.c b/libpager/pager-shutdown.c
index 17e126a1..8914daa1 100644
--- a/libpager/pager-shutdown.c
+++ b/libpager/pager-shutdown.c
@@ -31,7 +31,7 @@ pager_shutdown (struct pager *p)
p->pager_state = SHUTDOWN;
/* Cancel the pending no-senders notification. */
- mach_port_request_notification (mach_task_self (), p->port.port,
+ mach_port_request_notification (mach_task_self (), p->port.port_right,
MACH_NOTIFY_NO_SENDERS, 0, MACH_PORT_NULL,
MACH_MSG_TYPE_MAKE_SEND_ONCE, &port);