aboutsummaryrefslogtreecommitdiffstats
path: root/executor/executor_fuchsia.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-06-04 10:11:20 +0200
committerDmitry Vyukov <dvyukov@google.com>2019-06-04 14:57:43 +0200
commit8b598c83d2272fcb1b6483675a5c7b922aa9ea52 (patch)
treed77ee7fe995c2bfa5ffb7c1ab868ac9c04f726b3 /executor/executor_fuchsia.h
parente41a20c5170a991098742c4f0d04a420c2423bec (diff)
executor: special-case zx_deadline_after return value
zx_deadline_after also returns time, not status. So don't use it as coverage.
Diffstat (limited to 'executor/executor_fuchsia.h')
-rw-r--r--executor/executor_fuchsia.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/executor/executor_fuchsia.h b/executor/executor_fuchsia.h
index 9256f6b02..75c1d1802 100644
--- a/executor/executor_fuchsia.h
+++ b/executor/executor_fuchsia.h
@@ -27,6 +27,7 @@ static intptr_t execute_syscall(const call_t* c, intptr_t a[kMaxArgs])
!strcmp(c->name, "zx_debuglog_read") ||
!strcmp(c->name, "zx_clock_get") ||
!strcmp(c->name, "zx_clock_get_monotonic") ||
+ !strcmp(c->name, "zx_deadline_after") ||
!strcmp(c->name, "zx_ticks_get"))
return 0;
errno = (-res) & 0x7f;