diff options
| author | Ada Christine <adachristine18@gmail.com> | 2026-05-26 21:32:27 +0000 |
|---|---|---|
| committer | Ada Christine <adachristine18@gmail.com> | 2026-05-26 21:32:27 +0000 |
| commit | a10aabfcd52f702057316018cd7847ab2bfe4aa1 (patch) | |
| tree | cc4652d2b602798934e8a48b4939cfb20eda1989 /kc/core/panic.c | |
| parent | 90c29fdde317c39384011a6ba97077c138f13ad6 (diff) | |
we're bringing kjarna back and not doing the crazy stuff with trying to have task management during efi. that was a bit extra.kjarna
Diffstat (limited to 'kc/core/panic.c')
| -rw-r--r-- | kc/core/panic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kc/core/panic.c b/kc/core/panic.c index 7844487..02c58c7 100644 --- a/kc/core/panic.c +++ b/kc/core/panic.c @@ -1,6 +1,6 @@ #include "panic.h" -#include <lib/kstdio.h> +#include <libc/stdio.h> #include <stdbool.h> @@ -13,12 +13,12 @@ static char const *reason_strings[] = { noreturn void panic(const char *file, int line, enum panic_reason reason) { - // TODO: kprintf() and friends + // TODO: printf() and friends if (reason > sizeof(reason_strings) / sizeof(*reason_strings)) { reason = 0; } - kprintf( + printf( "kernel panic:%s:%u %s\n", file, line, |
