summaryrefslogtreecommitdiff
path: root/libpager/pager-shutdown.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpager/pager-shutdown.c')
-rw-r--r--libpager/pager-shutdown.c2
1 files changed, 1 insertions, 1 deletions
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);