diff options
author | Marvin Borner | 2020-08-22 01:10:59 +0200 |
---|---|---|
committer | Marvin Borner | 2020-08-22 01:10:59 +0200 |
commit | 45db1523a02730a172564ca8c2be55422d5d2f0b (patch) | |
tree | 1b64e92fcc5519d3466f15a325267127d6e63905 /kernel/features/syscall.c | |
parent | e72ef04668a87702c92cebc868612b9ebb8b0ad8 (diff) |
Fixed some TODOs
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: { |