diff options
| author | Kouame Behouba Manassé <behouba@gmail.com> | 2022-06-16 00:46:54 +0300 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2022-06-22 17:43:15 +0200 |
| commit | ac6154821bc913aa36150d98c9e9fbcc1b2b71ad (patch) | |
| tree | a684e17c9d21b39ba9ad11d6ec91fc1a7f6de563 /executor | |
| parent | ef5edfa141a7f52fa73ee62c95b44764e6dd2ee2 (diff) | |
executor: replace outdated fuchsia syscalls in common_fuchsia.h
Diffstat (limited to 'executor')
| -rw-r--r-- | executor/common_fuchsia.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
