aboutsummaryrefslogtreecommitdiffstats
path: root/executor/executor_fuchsia.cc
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-10-16 14:38:09 +0200
committerDmitry Vyukov <dvyukov@google.com>2017-10-16 14:38:09 +0200
commit4a4ad885abad6d8b8ce3d5cf90078224747de10d (patch)
tree2b46fcd0e491cc89e3300dcd813ea5bf82fa16f4 /executor/executor_fuchsia.cc
parent17f8d6a03dac0bad8ef0a014d10cdcdcc463a7cf (diff)
executor: repair fuchsia nonfailing mode
Diffstat (limited to 'executor/executor_fuchsia.cc')
-rw-r--r--executor/executor_fuchsia.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/executor/executor_fuchsia.cc b/executor/executor_fuchsia.cc
index dd9204d7d..b01bf5880 100644
--- a/executor/executor_fuchsia.cc
+++ b/executor/executor_fuchsia.cc
@@ -30,9 +30,8 @@ int main(int argc, char** argv)
long execute_syscall(call_t* c, long a0, long a1, long a2, long a3, long a4, long a5, long a6, long a7, long a8)
{
- debug("%s = %p\n", c->name, c->call);
long res = c->call(a0, a1, a2, a3, a4, a5, a6, a7, a8);
- debug("%s = %ld\n", c->name, res);
+ errno = res;
return res;
}