From 13808418c81c3ea6c1f39b4b2bf6af8c86367e2a Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 17 Mar 2000 10:31:34 +0000 Subject: 2000-03-17 Roland McGrath * main.c (main): Use ports_get_send_right. --- proc/main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'proc') diff --git a/proc/main.c b/proc/main.c index 6d74e1de..aa1c0c30 100644 --- a/proc/main.c +++ b/proc/main.c @@ -87,9 +87,7 @@ main (int argc, char **argv, char **envp) self_proc = allocate_proc (mach_task_self ()); complete_proc (self_proc, 0); - startup_port = ports_get_right (startup_proc); - mach_port_insert_right (mach_task_self (), startup_port, - startup_port, MACH_MSG_TYPE_MAKE_SEND); + startup_port = ports_get_send_right (startup_proc); err = startup_procinit (boot, startup_port, &startup_proc->p_task, &authserver, &master_host_port, &master_device_port); assert_perror (err); -- cgit v1.2.3