diff options
Diffstat (limited to 'src/kernel/task.c')
-rw-r--r-- | src/kernel/task.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/kernel/task.c b/src/kernel/task.c index c8a8ac8..80818a7 100644 --- a/src/kernel/task.c +++ b/src/kernel/task.c @@ -79,7 +79,9 @@ void advance_active_task() { if (++active_task == tasks + MAX_TASKS) active_task = tasks; if (active_task == prev_task) { - logsz("No active tasks.\nHalting."); + logch('\n'); + set_log_mode(LOG_SYSTEM); + logsz("\nNo active tasks, halting."); while (1) asm ("hlt"); } |