diff options
author | Benji Dial <benji6283@gmail.com> | 2021-02-17 18:38:54 -0500 |
---|---|---|
committer | Benji Dial <benji6283@gmail.com> | 2021-02-17 18:38:54 -0500 |
commit | 78853170f8304ca7af29e7383f5efccedaf21454 (patch) | |
tree | 5e052673872ef667599bcbd999887430b7368b0e /src/kernel/task.c | |
parent | 79973061600a2af480c4f8ec1e1e71846985b653 (diff) | |
download | portland-os-78853170f8304ca7af29e7383f5efccedaf21454.tar.gz |
fixing waits output in alt+pause
Diffstat (limited to 'src/kernel/task.c')
-rw-r--r-- | src/kernel/task.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/task.c b/src/kernel/task.c index 8d8de86..93310bc 100644 --- a/src/kernel/task.c +++ b/src/kernel/task.c @@ -296,7 +296,7 @@ void unwait(struct task_state *task, struct wait wait) { default: PANIC("Unwait matched with unrecognized wait mode."); } - for (uint8_t i = 0; i < MAX_WAITS; ++i) + for (i = 0; i < MAX_WAITS; ++i) task->waits[i].mode = NONE; task->waiting = false; return; |