diff options
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; } |