diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-05-09 18:47:12 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-05-09 18:47:12 +0000 |
commit | 58190ea018243028cc1efc8d111504a0bc38f072 (patch) | |
tree | c93437d4765042a257444d41852902d450f55ead /libdiskfs | |
parent | 03f4de902c252c288283692235a3f21ed2cf4c7d (diff) |
(_diskfs_init_completed): Don't need to insert right any more now that
it's a poly arg.
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/init-startup.c | 10 |
1 files changed, 1 insertions, 9 deletions
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; |