Skip to content

Commit 45f6c62

Browse files
committed
Fix tests/various/logger_cmd_error.sh.
1 parent abde11e commit 45f6c62

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
@@ -430,7 +430,7 @@ void log_formatted_cmd_error(std::string str)
430430
pop_errfile = true;
431431
}
432432

433-
log_formatted_string("ERROR: %s", log_last_error, LogSeverity::LOG_ERROR);
433+
log_formatted_string("%s", stringf("ERROR: %s", log_last_error), LogSeverity::LOG_ERROR);
434434
log_flush();
435435

436436
if (pop_errfile)

0 commit comments

Comments
 (0)