From ac6154821bc913aa36150d98c9e9fbcc1b2b71ad Mon Sep 17 00:00:00 2001 From: Kouame Behouba Manassé Date: Thu, 16 Jun 2022 00:46:54 +0300 Subject: executor: replace outdated fuchsia syscalls in common_fuchsia.h --- 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 f79950b75..c63ff7bd9 100644 --- a/executor/common_fuchsia.h +++ b/executor/common_fuchsia.h @@ -43,7 +43,7 @@ static void segv_handler(void) longjmp(segv_env, 1); } debug("recover: exiting\n"); - doexit(SIGSEGV); + doexit_thread(SIGSEGV); } static zx_status_t update_exception_thread_regs(zx_handle_t exception) @@ -259,7 +259,7 @@ static long syz_future_time(volatile long when) break; } zx_time_t now = 0; - zx_clock_get(ZX_CLOCK_MONOTONIC, &now); + zx_clock_read(ZX_CLOCK_MONOTONIC, &now); return now + delta_ms * 1000 * 1000; } #endif -- cgit mrf-deployment