From 4a4ad885abad6d8b8ce3d5cf90078224747de10d Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 16 Oct 2017 14:38:09 +0200 Subject: executor: repair fuchsia nonfailing mode --- executor/executor_fuchsia.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'executor/executor_fuchsia.cc') 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; } -- cgit mrf-deployment