From 3bfb22b5bdb00da6335be154d7fd851cefd00876 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Fri, 17 Mar 2000 17:24:10 +0000 Subject: 2000-03-17 Thomas Bushnell, BSG * main.c (arrange_shutdown_notification): Don't use MAKE_SEND in Hurd RPC. --- pfinet/ChangeLog | 5 +++++ pfinet/main.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'pfinet') 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 + + * main.c (arrange_shutdown_notification): Don't use MAKE_SEND in + Hurd RPC. + 2000-03-17 Roland McGrath * 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); } -- cgit v1.2.3