aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_fuchsia.h
diff options
context:
space:
mode:
Diffstat (limited to 'executor/common_fuchsia.h')
-rw-r--r--executor/common_fuchsia.h4
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