aboutsummaryrefslogtreecommitdiffstats
path: root/executor/executor.h
diff options
context:
space:
mode:
Diffstat (limited to 'executor/executor.h')
-rw-r--r--executor/executor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/executor/executor.h b/executor/executor.h
index 1933c6cef..f3f0eb53a 100644
--- a/executor/executor.h
+++ b/executor/executor.h
@@ -616,6 +616,7 @@ void execute_call(thread_t* th)
}
cover_reset(th);
+ errno = 0;
th->res = execute_syscall(call, th->args[0], th->args[1], th->args[2],
th->args[3], th->args[4], th->args[5],
th->args[6], th->args[7], th->args[8]);