summaryrefslogtreecommitdiff
path: root/libdiskfs/boot-start.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/boot-start.c')
-rw-r--r--libdiskfs/boot-start.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdiskfs/boot-start.c b/libdiskfs/boot-start.c
index 0e6a184c..9c0e0f79 100644
--- a/libdiskfs/boot-start.c
+++ b/libdiskfs/boot-start.c
@@ -404,7 +404,8 @@ diskfs_S_fsys_init (mach_port_t port,
/* Don't start this until now so that exec is fully authenticated
with proc. */
- exec_init (diskfs_exec, authhandle, execprocess, MACH_MSG_TYPE_MOVE_SEND);
+ exec_init (diskfs_exec, authhandle, execprocess, MACH_MSG_TYPE_COPY_SEND);
+ mach_port_deallocate (mach_task_self (), execprocess);
/* We don't need this anymore. */
mach_port_deallocate (mach_task_self (), diskfs_exec_server_task);