From 5f818b4b9f7640ea6c31c3cdf138e5d5004a4b00 Mon Sep 17 00:00:00 2001 From: Scott Graham Date: Wed, 10 Oct 2018 10:00:41 -0700 Subject: executor: Fuchsia: Use zx_task_resume_from_exception() zx_task_resume() is deprecated; switch to using zx_task_resume_from_exception() instead. --- executor/common_fuchsia.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'executor') diff --git a/executor/common_fuchsia.h b/executor/common_fuchsia.h index d232f2a14..6c2381d28 100644 --- a/executor/common_fuchsia.h +++ b/executor/common_fuchsia.h @@ -84,9 +84,9 @@ static void* ex_handler(void* arg) debug("zx_thread_write_state failed: %d\n", status); } } - status = zx_task_resume(thread, ZX_RESUME_EXCEPTION); + status = zx_task_resume_from_exception(thread, port, 0); if (status != ZX_OK) { - debug("zx_task_resume failed: %d\n", status); + debug("zx_task_resume_from_exception failed: %d\n", status); } zx_handle_close(thread); } -- cgit mrf-deployment