From 61c443579150a4714c132ecb1ac18779535f91c9 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Sat, 17 Feb 2024 16:45:16 +0100 Subject: cleanup --- kernel/cpu/syscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel/cpu') 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; } -- cgit v1.2.3