summaryrefslogtreecommitdiff
path: root/term
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-04-05 17:40:24 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-04-06 18:09:38 +0200
commite9687ec4ff525ae4a88314ba4ae97da770bd012f (patch)
tree9f434a3d390fc926d396c6958594e406090b7e46 /term
parente27425e63392683b85101961489a83e0abef133b (diff)
libports: fix notify_port_t receiver lookups
* libports/Makefile (MIGSFLAGS): Include mig-mutate.h. * libports/mig-decls.h: New file. * libports/mig-mutate.h: Likewise. * libports/notify-dead-name.c: Fix receiver lookups. * libports/notify-no-senders.c: Likewise. * libports/notify-msg-accepted.c: Adjust function declaration. * libports/notify-port-deleted.c: Likewise. * libports/notify-port-destroyed.c: Likewise. * libports/notify-send-once.c: Likewise. * libports/ports.h: Likewise. * proc/Makefile (MIGSFLAGS): Include mig-mutate.h, move PROCESS mutators... * proc/mig-mutate.h: ... into a new file, add NOTIFY mutators. * proc/notify.c: Fix receiver lookups, adjust function declarations. * term/devio.c (ports_do_mach_notify_send_once): Adjust accordingly.
Diffstat (limited to 'term')
-rw-r--r--term/devio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/term/devio.c b/term/devio.c
index 7c7d8fd8..eedd7b87 100644
--- a/term/devio.c
+++ b/term/devio.c
@@ -731,18 +731,18 @@ device_write_reply (mach_port_t replyport,
}
error_t
-ports_do_mach_notify_send_once (mach_port_t notify)
+ports_do_mach_notify_send_once (struct port_info *pi)
{
error_t err;
pthread_mutex_lock (&global_lock);
- if (notify == phys_reply_writes)
+ if (pi->port_right == phys_reply_writes)
{
err = 0;
devio_start_output ();
}
- else if (notify == phys_reply)
+ else if (pi->port_right == phys_reply)
{
if (input_pending)
{