Fix tests/various/logger_cmd_error.sh.

This commit is contained in:
Sean Luchen 2025-09-16 08:59:47 -07:00 committed by Miodrag Milanovic
parent 57a6aff194
commit f6863b9f70
1 changed files with 1 additions and 1 deletions

View File

@ -451,7 +451,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)