diff options
Diffstat (limited to 'src/kernel/syscalls.c')
-rw-r--r-- | src/kernel/syscalls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/syscalls.c b/src/kernel/syscalls.c index 7d0f81f..e160270 100644 --- a/src/kernel/syscalls.c +++ b/src/kernel/syscalls.c @@ -18,7 +18,7 @@ _Noreturn void _syscall_exit(const char *msg, size_t len) { int _syscall_fork() { struct process *orig = process_current; - process_current = process_clone(orig); + process_current = process_fork(orig); process_switch(process_current); } |