summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-02-11 22:11:34 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-02-11 22:11:34 +0000
commit54786c4e2cd965cef26e3c79e0e962be6595343f (patch)
tree32d9ec0aad1517696939d44a37e1909a028cb893
parentf0028548aa06b88ed63c9247fa5b66a4330ddcd7 (diff)
entered into RCS
-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);