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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/features/syscall.c b/kernel/features/syscall.c
index 23c8d37..b66cd2e 100644
--- a/kernel/features/syscall.c
+++ b/kernel/features/syscall.c
@@ -88,7 +88,7 @@ static void syscall_handler(struct regs *r)
} else {
// TODO: Reimplement argc,argv
proc_stack_push(proc, 0);
- proc_yield();
+ proc_yield_regs(r);
}
break;
}
@@ -99,7 +99,7 @@ static void syscall_handler(struct regs *r)
}
case SYS_YIELD: {
r->eax = EOK;
- proc_yield();
+ proc_yield_regs(r);
break;
}