From a070819c46c384e0b03f79bfc8fd33425bc84a1f Mon Sep 17 00:00:00 2001 From: Travis Geiselbrecht Date: Mon, 1 Apr 2024 23:48:50 -0700 Subject: [PATCH] [clang] fix another warning that clang doesn't like --- arch/x86/faults.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/faults.c b/arch/x86/faults.c index 7327a2422..a59ec33ec 100644 --- a/arch/x86/faults.c +++ b/arch/x86/faults.c @@ -60,7 +60,7 @@ static void dump_fault_frame(x86_iframe_t *frame) { } static void exception_die(x86_iframe_t *frame, const char *msg) { - dprintf(CRITICAL, msg); + dprintf(CRITICAL, "%s", msg); dump_fault_frame(frame); for (;;) {