From 759d5a1fb3a434595fb64412bc6daf2c589e77db Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Mon, 13 Jan 2020 17:47:40 +0100 Subject: [PATCH] Fix uvar error message This used a wstring format when it was a narrow string. --- src/env_universal_common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/env_universal_common.cpp b/src/env_universal_common.cpp index 8e71c301a..8c5885b96 100644 --- a/src/env_universal_common.cpp +++ b/src/env_universal_common.cpp @@ -606,7 +606,7 @@ bool env_universal_t::open_and_acquire_lock(const std::string &path, int *out_fd } #endif const char *error = std::strerror(errno); - FLOGF(error, _(L"Unable to open universal variable file '%ls': %s"), path.c_str(), + FLOGF(error, _(L"Unable to open universal variable file '%s': %s"), path.c_str(), error); break; }