summaryrefslogtreecommitdiff
path: root/kernel/lib
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/lib')
-rw-r--r--kernel/lib/kprintf.c2
-rw-r--r--kernel/lib/panic.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/kernel/lib/kprintf.c b/kernel/lib/kprintf.c
index aabefc4..f5021fd 100644
--- a/kernel/lib/kprintf.c
+++ b/kernel/lib/kprintf.c
@@ -572,7 +572,7 @@ int kvsprintf(char *restrict s, const char *format, va_list args)
}
int kvsnprintf(char *restrict s, size_t maxlen, const char *format,
- va_list args)
+ va_list args)
{
context_t ctx = { 0 };
ctx.format = format;
diff --git a/kernel/lib/panic.c b/kernel/lib/panic.c
index 486f4b5..dc62eb7 100644
--- a/kernel/lib/panic.c
+++ b/kernel/lib/panic.c
@@ -3,7 +3,8 @@
#include <stdarg.h>
#include <comus/asm.h>
-__attribute__((noreturn)) void __panic(const char *line, const char *file, const char *format, ...)
+__attribute__((noreturn)) void __panic(const char *line, const char *file,
+ const char *format, ...)
{
cli();
va_list list;