summaryrefslogtreecommitdiff
path: root/libports/get-right.c
diff options
context:
space:
mode:
Diffstat (limited to 'libports/get-right.c')
-rw-r--r--libports/get-right.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libports/get-right.c b/libports/get-right.c
index 0333b036..0c5f13b7 100644
--- a/libports/get-right.c
+++ b/libports/get-right.c
@@ -46,7 +46,7 @@ ports_get_right (void *port)
pi->refcnt++;
gdb_loses =
mach_port_request_notification (mach_task_self (), pi->port_right,
- MACH_NOTIFY_NO_SENDERS, 1,
+ MACH_NOTIFY_NO_SENDERS, pi->mscount,
pi->port_right,
MACH_MSG_TYPE_MAKE_SEND_ONCE, &foo);
assert_perror (gdb_loses);