aboutsummaryrefslogtreecommitdiff
path: root/kernel/features/syscall.c
diff options
context:
space:
mode:
authorMarvin Borner2020-10-25 17:52:28 +0100
committerMarvin Borner2020-10-25 17:52:28 +0100
commit4ec7c19e1567f322b1622ad506290e8eb7a4956d (patch)
tree2fbd1e7f92973105d3dea8e55fd12c8b989050cf /kernel/features/syscall.c
parentc9f89174b9ce73ed93bfad14d57b8f1a43db6bf6 (diff)
Some fixes :)
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 73f31eb..798ca45 100644
--- a/kernel/features/syscall.c
+++ b/kernel/features/syscall.c
@@ -79,6 +79,7 @@ void syscall_handler(struct regs *r)
}
case SYS_SEND: {
proc_send(proc_current(), proc_from_pid(r->ebx), r->ecx, (void *)r->edx);
+ proc_yield(r);
break;
}
case SYS_RECEIVE: {