From 58190ea018243028cc1efc8d111504a0bc38f072 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 9 May 1996 18:47:12 +0000 Subject: (_diskfs_init_completed): Don't need to insert right any more now that it's a poly arg. --- libdiskfs/init-startup.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'libdiskfs/init-startup.c') diff --git a/libdiskfs/init-startup.c b/libdiskfs/init-startup.c index 9214d4dc..d25af2fb 100644 --- a/libdiskfs/init-startup.c +++ b/libdiskfs/init-startup.c @@ -130,17 +130,9 @@ _diskfs_init_completed () notify = ports_get_right (pi); ports_port_deref (pi); - err = mach_port_insert_right (mach_task_self (), notify, notify, - MACH_MSG_TYPE_MAKE_SEND); - if (err) - { - mach_port_deallocate (mach_task_self (), init); - goto errout; - } - asprintf (&name, "%s %s", program_invocation_short_name, diskfs_device_arg); - err = startup_request_notification (init, notify, name); + err = startup_request_notification (init, notify, MACH_PORT_MAKE_SEND, name); free (name); if (err) goto errout; -- cgit v1.2.3