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/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pfinet/main.c') 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