summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/sys
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/sys')
-rw-r--r--arch/x86_64/sys/syscall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/sys/syscall.c b/arch/x86_64/sys/syscall.c
index e3fa81b..b584756 100644
--- a/arch/x86_64/sys/syscall.c
+++ b/arch/x86_64/sys/syscall.c
@@ -16,7 +16,7 @@ _syscall_handle_arch(syscall_context_t *ctx)
syscall_handle_t call_handle = s_arch_handles[target_type];
if(call_handle == NULL) {
kprintf("syscall: Process %i tried to call syscall on object %P which doesn't support syscalls!\n",
- pcb_pid(obj_deref(ctx->pcb)), ctx->header->path, ctx->header->pathlen);
+ pcb_getpid(obj_deref(ctx->pcb)), ctx->header->path, ctx->header->pathlen);
return -EBADOBJ;
}