summaryrefslogtreecommitdiff
path: root/libfshelp
diff options
context:
space:
mode:
Diffstat (limited to 'libfshelp')
-rw-r--r--libfshelp/start-translator-long.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/libfshelp/start-translator-long.c b/libfshelp/start-translator-long.c
index 10b5237a..05187dac 100644
--- a/libfshelp/start-translator-long.c
+++ b/libfshelp/start-translator-long.c
@@ -219,13 +219,12 @@ fshelp_start_translator_long (file_t underlying,
ports[INIT_PORT_BOOTSTRAP] = bootstrap;
/* Try and exec the translator in TASK... */
- err = file_exec (executable, task, MACH_MSG_TYPE_MOVE_SEND, EXEC_DEFAULTS,
- argz, argz_len, 0, 0, 0, 0,
- fds, fds_type, fds_len, 0,
- ports, ports_type, ports_len, 0,
- ints, ints_len, 0, 0, 0, 0, 0, 0, 0);
+ err = file_exec (executable, task, EXEC_DEFAULTS,
+ argz, argz_len, 0, 0,
+ fds, fds_type, fds_len,
+ ports, ports_type, ports_len,
+ ints, ints_len, 0, 0, 0, 0);
ports_moved = 1;
- task = MACH_PORT_NULL; /* record that we've sent it */
if (ports_type == MACH_MSG_TYPE_COPY_SEND)
mach_port_deallocate (mach_task_self (), bootstrap);