diff options
author | Anton Kling <anton@kling.gg> | 2024-02-17 16:45:16 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-02-17 16:45:16 +0100 |
commit | 61c443579150a4714c132ecb1ac18779535f91c9 (patch) | |
tree | c1d83ed763b9d16051abd9fd921bb9815e710c70 /kernel/cpu | |
parent | 413d09388bf33c658f3e71b18e4b069f18461393 (diff) |
cleanup
Diffstat (limited to 'kernel/cpu')
-rw-r--r-- | kernel/cpu/syscall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cpu/syscall.c b/kernel/cpu/syscall.c index 77e9ac5..1ed5f41 100644 --- a/kernel/cpu/syscall.c +++ b/kernel/cpu/syscall.c @@ -81,7 +81,7 @@ void syscall_wait(int *status) { return; } get_current_task()->halts[WAIT_CHILD_HALT] = 1; - switch_task(1); + switch_task(); if (status) *status = get_current_task()->child_rc; } |