Skip to content

Commit de63e4f

Browse files
committed
[Fuchsia] Update to the newest spelling of launchpad calls
[email protected] Review-Url: https://codereview.chromium.org/2713523005 .
1 parent 74bf8c9 commit de63e4f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

runtime/bin/process_fuchsia.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -740,12 +740,12 @@ class ProcessStarter {
740740
// Set up the launchpad.
741741
launchpad_t* lp = NULL;
742742
launchpad_create(job, program_arguments_[0], &lp);
743-
launchpad_arguments(lp, program_arguments_count_, program_arguments_);
744-
launchpad_environ(lp, program_environment_);
745-
launchpad_clone_mxio_root(lp);
743+
launchpad_set_args(lp, program_arguments_count_, program_arguments_);
744+
launchpad_set_environ(lp, program_environment_);
745+
launchpad_clone(lp, LP_CLONE_MXIO_ROOT);
746746
// TODO(zra): Use the supplied working directory when launchpad adds an
747747
// API to set it.
748-
launchpad_clone_mxio_cwd(lp);
748+
launchpad_clone(lp, LP_CLONE_MXIO_CWD);
749749
launchpad_add_pipe(lp, &write_out_, 0);
750750
launchpad_add_pipe(lp, &read_in_, 1);
751751
launchpad_add_pipe(lp, &read_err_, 2);

0 commit comments

Comments
 (0)