From 4c1d03b082f4972c02f5794976f4651fc5f85795 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Thu, 10 Apr 2025 23:29:33 -0400 Subject: fmt --- kernel/lib/kprintf.c | 2 +- kernel/lib/panic.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'kernel/lib') 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 #include -__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; -- cgit v1.2.3-freya