From 22d7a425175078796f51cb4067aebd1cda6673ff Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 17 Mar 2000 10:31:54 +0000 Subject: 2000-03-17 Roland McGrath * exec.c (do_exec): Use ports_get_send_right. --- exec/exec.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'exec') diff --git a/exec/exec.c b/exec/exec.c index 0c3ea2a4..8baeb909 100644 --- a/exec/exec.c +++ b/exec/exec.c @@ -1873,9 +1873,7 @@ do_exec (file_t file, } { - mach_port_t btport = ports_get_right (boot); - mach_port_insert_right (mach_task_self (), btport, btport, - MACH_MSG_TYPE_MAKE_SEND); + mach_port_t btport = ports_get_send_right (boot); e.error = task_set_bootstrap_port (newtask, btport); mach_port_deallocate (mach_task_self (), btport); } -- cgit v1.2.3