diff options
Diffstat (limited to 'kernel/features/syscall.c')
-rw-r--r-- | kernel/features/syscall.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/features/syscall.c b/kernel/features/syscall.c index 2704690..e96cb65 100644 --- a/kernel/features/syscall.c +++ b/kernel/features/syscall.c @@ -68,12 +68,12 @@ void syscall_handler(struct regs *r) } case SYS_MAP: { printf("map\n"); - event_map(r->ebx, (u32 *)r->ecx); + event_map(r->ebx, proc_current(), (u32 *)r->ecx); break; } case SYS_UNMAP: { printf("unmap\n"); - event_unmap(r->ebx, (u32 *)r->ecx); + event_unmap(r->ebx, proc_current(), (u32 *)r->ecx); break; } default: { |