From 465cba0c00bfc5d89bf10ce353b0adf40bdc098d Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Sat, 3 Oct 2026 21:32:29 -0400 Subject: unmap message object used for syscalls --- arch/x86_64/sys/syscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/x86_64/sys/syscall.c') 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; } -- cgit v1.2.3