diff --git a/src/env_universal_common.cpp b/src/env_universal_common.cpp index aaa73aae9..96517265f 100644 --- a/src/env_universal_common.cpp +++ b/src/env_universal_common.cpp @@ -593,7 +593,7 @@ bool env_universal_t::open_temporary_file(const wcstring &directory, wcstring *o } if (!success) { - report_error(saved_errno, L"Unable to open temporary file '%s'", out_path->c_str()); + report_error(saved_errno, L"Unable to open temporary file '%ls'", out_path->c_str()); } return success; }