diff options
author | Freya Murphy <freya@freyacat.org> | 2025-04-03 23:04:38 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-04-03 23:04:38 -0400 |
commit | d0854aa095421f225f7004cdcca0b8ad074303c5 (patch) | |
tree | d7c52aee6c0aa574e1b4230b5f28d49342470862 /kernel/io/panic.c | |
parent | load multiboot memory map, heap is done!!! (diff) | |
download | comus-d0854aa095421f225f7004cdcca0b8ad074303c5.tar.gz comus-d0854aa095421f225f7004cdcca0b8ad074303c5.tar.bz2 comus-d0854aa095421f225f7004cdcca0b8ad074303c5.zip |
fmt
Diffstat (limited to '')
-rw-r--r-- | kernel/io/panic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/io/panic.c b/kernel/io/panic.c index 948542e..403418f 100644 --- a/kernel/io/panic.c +++ b/kernel/io/panic.c @@ -2,8 +2,8 @@ #include <stdarg.h> #include <comus/asm.h> -__attribute__((noreturn)) -void panic(const char *format, ...) { +__attribute__((noreturn)) void panic(const char *format, ...) +{ cli(); va_list list; va_start(list, format); |