diff --git a/runtime/bin/eventhandler_fuchsia.cc b/runtime/bin/eventhandler_fuchsia.cc index d0b845a7568..41feb5d03ba 100644 --- a/runtime/bin/eventhandler_fuchsia.cc +++ b/runtime/bin/eventhandler_fuchsia.cc @@ -285,7 +285,7 @@ EventHandlerImplementation::EventHandlerImplementation() shutdown_ = false; // Create the port. port_handle_ = MX_HANDLE_INVALID; - mx_status_t status = mx_port_create(MX_PORT_OPT_V2, &port_handle_); + mx_status_t status = mx_port_create(0, &port_handle_); if (status != MX_OK) { // This is a FATAL because the VM won't work at all if we can't create this // port. diff --git a/runtime/bin/process_fuchsia.cc b/runtime/bin/process_fuchsia.cc index 11e918e8d51..b2adc710dbf 100644 --- a/runtime/bin/process_fuchsia.cc +++ b/runtime/bin/process_fuchsia.cc @@ -502,7 +502,7 @@ bool Process::Wait(intptr_t pid, // Create a port, which is like an epoll() fd on Linux. mx_handle_t port; - mx_status_t status = mx_port_create(MX_PORT_OPT_V2, &port); + mx_status_t status = mx_port_create(0, &port); if (status != MX_OK) { Log::PrintErr("Process::Wait: mx_port_create failed: %s\n", mx_status_get_string(status));