summaryrefslogtreecommitdiffstats
path: root/sys/syscall_untyped.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/syscall_untyped.c')
-rw-r--r--sys/syscall_untyped.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/syscall_untyped.c b/sys/syscall_untyped.c
index fcdb5f6..975faaa 100644
--- a/sys/syscall_untyped.c
+++ b/sys/syscall_untyped.c
@@ -72,7 +72,7 @@ int _syscall_handle_untyped(
return s_syscall_untyped_merge(objdir, target_obj, payload_bytes, payload);
default:
kprintf("syscall_untyped: Untyped object does not support syscall %i\n", header->callid);
- return EBADARG;
+ return -EBADARG;
}
return 0;
}