From 10f24ece7a71944e620173e5da809af492523624 Mon Sep 17 00:00:00 2001 From: Sean Luchen Date: Tue, 16 Sep 2025 08:59:47 -0700 Subject: [PATCH] Fix tests/various/logger_cmd_error.sh. --- kernel/log.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/log.cc b/kernel/log.cc index 8deab8404..f50f06a0f 100644 --- a/kernel/log.cc +++ b/kernel/log.cc @@ -439,7 +439,7 @@ void log_formatted_cmd_error(std::string str) pop_errfile = true; } - log_formatted_string("ERROR: %s", log_last_error, LogSeverity::LOG_ERROR); + log_formatted_string("%s", stringf("ERROR: %s", log_last_error), LogSeverity::LOG_ERROR); log_flush(); if (pop_errfile)