aboutsummaryrefslogtreecommitdiff
path: root/kernel/features/syscall.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/features/syscall.c')
-rw-r--r--kernel/features/syscall.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/features/syscall.c b/kernel/features/syscall.c
index 2796372..2334947 100644
--- a/kernel/features/syscall.c
+++ b/kernel/features/syscall.c
@@ -82,6 +82,7 @@ static void syscall_handler(struct regs *r)
}
case SYS_EXIT: {
proc_exit(proc_current(), (int)r->ebx);
+ proc_yield(r);
break;
}
case SYS_BOOT: { // TODO: Move