summaryrefslogtreecommitdiff
path: root/kernel/cpu
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-02-17 16:45:16 +0100
committerAnton Kling <anton@kling.gg>2024-02-17 16:45:16 +0100
commit61c443579150a4714c132ecb1ac18779535f91c9 (patch)
treec1d83ed763b9d16051abd9fd921bb9815e710c70 /kernel/cpu
parent413d09388bf33c658f3e71b18e4b069f18461393 (diff)
cleanup
Diffstat (limited to 'kernel/cpu')
-rw-r--r--kernel/cpu/syscall.c2
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;
}