aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-06-06 16:14:00 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-06-06 16:14:00 +0200
commitd8edd95800aa4c853d3dc28dd35c2bbf4b91c0d2 (patch)
tree95ac428879ac38ff409ac65c5b73961d350a38fa
parent606f9a96d815721fa6583615d327973986a1abad (diff)
executor: fix zx_port_wait use
The call signature has changed in zircon.
-rw-r--r--executor/common_fuchsia.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/executor/common_fuchsia.h b/executor/common_fuchsia.h
index 1c5762199..8b5b9f6a0 100644
--- a/executor/common_fuchsia.h
+++ b/executor/common_fuchsia.h
@@ -66,7 +66,7 @@ static void* ex_handler(void* arg)
zx_handle_t port = (zx_handle_t)(long)arg;
for (int i = 0; i < 10000; i++) {
zx_port_packet_t packet = {};
- zx_status_t status = zx_port_wait(port, ZX_TIME_INFINITE, &packet, 0);
+ zx_status_t status = zx_port_wait(port, ZX_TIME_INFINITE, &packet);
if (status != ZX_OK) {
debug("zx_port_wait failed: %d\n", status);
continue;