summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>2000-03-17 17:24:10 +0000
committerThomas Bushnell <thomas@gnu.org>2000-03-17 17:24:10 +0000
commit3bfb22b5bdb00da6335be154d7fd851cefd00876 (patch)
treedfdecfabe2f7bd91c14c3994386908bdc76c2631
parent3369762a7620a81db7d579cf35a5231a4bf6c4de (diff)
2000-03-17 Thomas Bushnell, BSG <tb@mit.edu>
* main.c (arrange_shutdown_notification): Don't use MAKE_SEND in Hurd RPC.
-rw-r--r--pfinet/ChangeLog5
-rw-r--r--pfinet/main.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/pfinet/ChangeLog b/pfinet/ChangeLog
index ff4efea5..82818336 100644
--- a/pfinet/ChangeLog
+++ b/pfinet/ChangeLog
@@ -1,3 +1,8 @@
+2000-03-17 Thomas Bushnell, BSG <tb@mit.edu>
+
+ * main.c (arrange_shutdown_notification): Don't use MAKE_SEND in
+ Hurd RPC.
+
2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
* io-ops.c (S_io_reauthenticate): Use ports_get_send_right.
diff --git a/pfinet/main.c b/pfinet/main.c
index 3e4db13e..b6d89ba3 100644
--- a/pfinet/main.c
+++ b/pfinet/main.c
@@ -113,11 +113,12 @@ arrange_shutdown_notification ()
if (err)
return;
- notify = ports_get_right (pi);
+ notify = ports_get_send_right (pi);
ports_port_deref (pi);
startup_request_notification (initport, notify,
MACH_MSG_TYPE_MAKE_SEND,
program_invocation_short_name);
+ mach_port_deallocate (mach_task_self (), notify);
mach_port_deallocate (mach_task_self (), initport);
}