summaryrefslogtreecommitdiff
path: root/libports/get-right.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-07-03 18:13:48 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-07-03 18:13:48 +0000
commit4cfcbfd951b6665133b2c619015fcba58e5d6eb8 (patch)
treef62ffe8832af36e75f8cd1b3e9f85c1bfb3346b8 /libports/get-right.c
parentb1b6e1e7df5c7b7bfb2ed25b7ac9f3559cd6f9b3 (diff)
(ports_get_right): Supply correct sync value in notification request.
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);