summaryrefslogtreecommitdiffstats
path: root/linux/errors.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linux/errors.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/errors.c b/linux/errors.c
index 0b1c2ea..105d343 100644
--- a/linux/errors.c
+++ b/linux/errors.c
@@ -6,7 +6,8 @@
#include "../generated/linux-errors.h"
static enum libsyscalls_error
-get_linux_syscall_errors(enum libsyscalls_arch arch, const struct libsyscalls_named_number **errs_out, size_t *nerrs_out)
+get_linux_syscall_errors(enum libsyscalls_arch arch, const struct libsyscalls_named_number **errs_out,
+ size_t *nerrs_out, int *are_signed_out)
{
#define CASE(ARCH)\
*errs_out = linux_errors_for_##ARCH;\
@@ -139,6 +140,7 @@ get_linux_syscall_errors(enum libsyscalls_arch arch, const struct libsyscalls_na
*nerrs_out = ELEMSOF(linux_errors_for_generic);
out:
+ *are_signed_out = 0;
return LIBSYSCALLS_E_OK;
#undef CASE