Skip to content
This repository has been archived by the owner on May 12, 2024. It is now read-only.

Commit

Permalink
Update boot.c
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinAlavik authored Feb 20, 2024
1 parent b616338 commit b20f05e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kernel/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ void init_boot(int debug_info)
dprintf("[Kernel Error] A kernel error occured, check kmesg for rason! Rebooting...\n");
reboot();
}
else if (kstatus == KERNEL_QUIT_CRITICAL)
else if (kstatus == KERNEL_QUIT_PANIC)
{
panic("[Kernel Panic] Kernel quit with a critical error code, please see kmsg for extra info.\n", *cur_frame);
dprintf("[Kernel Panic] Kernel quit with a critical error code, the kernel process returned with a 2 that means something went really wrong, and we are shutting down your computer in 10 seconds!\n");
Expand Down

0 comments on commit b20f05e

Please sign in to comment.