Skip to content

Commit 282e0c3

Browse files
committed
Fix tests/various/logger_cmd_error.sh.
1 parent 8ce48ca commit 282e0c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/log.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ void log_formatted_cmd_error(std::string str)
435435
pop_errfile = true;
436436
}
437437

438-
log_formatted_string("ERROR: %s", log_last_error, LogSeverity::LOG_ERROR);
438+
log_formatted_string("%s", stringf("ERROR: %s", log_last_error), LogSeverity::LOG_ERROR);
439439
log_flush();
440440

441441
if (pop_errfile)

0 commit comments

Comments
 (0)