From ddc4fbc15223e362896a9f42beca73f05f48e664 Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Thu, 18 Sep 2025 13:52:58 -0400 Subject: move usermode-critical info to include/api --- arch/x86_64/syscall/syscall.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arch/x86_64/syscall/syscall.c') diff --git a/arch/x86_64/syscall/syscall.c b/arch/x86_64/syscall/syscall.c index 5582336..7ddd179 100644 --- a/arch/x86_64/syscall/syscall.c +++ b/arch/x86_64/syscall/syscall.c @@ -2,7 +2,7 @@ #include "syscall/handles.h" #include "print.h" #include "lock.h" -#include "error.h" +#include "api/error.h" #include static inline int @@ -27,7 +27,7 @@ _syscall_handler_arch(objdir_t *root_dir, objdir_entry_t *target, uint8_t *paylo default: klogf("Missing implementation of invoke for type %i\n", target->type); mtx_release(&target->lock); - return -KE_BADTYPE; + return KE_BADTYPE; } } -- cgit v1.2.1