summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/syscall/syscall.c
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2025-09-18 13:52:58 -0400
committerJon Santmyer <jon@jonsantmyer.com>2025-09-18 13:52:58 -0400
commitddc4fbc15223e362896a9f42beca73f05f48e664 (patch)
tree30f8ffc989bc66d9d9e67c7321b3d7a9c46dc130 /arch/x86_64/syscall/syscall.c
parentcfc793e204ba63d281e778a36992b8c86dd0ad88 (diff)
downloadjove-kernel-ddc4fbc15223e362896a9f42beca73f05f48e664.tar.gz
jove-kernel-ddc4fbc15223e362896a9f42beca73f05f48e664.tar.bz2
jove-kernel-ddc4fbc15223e362896a9f42beca73f05f48e664.zip
move usermode-critical info to include/api
Diffstat (limited to 'arch/x86_64/syscall/syscall.c')
-rw-r--r--arch/x86_64/syscall/syscall.c4
1 files changed, 2 insertions, 2 deletions
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 <stddef.h>
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;
}
}