From b4f9feaf07d31c33b92a99d978e3b83032b6e10c Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Tue, 29 Jul 2025 17:02:48 +0200 Subject: [PATCH] Fix GCC compiler warning --- kernel/io.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/io.h b/kernel/io.h index ea2499e43..f74f2a166 100644 --- a/kernel/io.h +++ b/kernel/io.h @@ -392,7 +392,7 @@ template inline std::string format_emit_toplevel(std::string_view fmt, bool has_escapes, const FoundFormatSpec* specs, const Args &... args) { std::string result; - int dynamic_ints[2] = { 0, 0 }; + int dynamic_ints[3] = { 0, 0, 0 }; format_emit(result, fmt, 0, has_escapes, specs, dynamic_ints, DynamicIntCount::NONE, args...); return result; }