Fix uvar error message

This used a wstring format when it was a narrow string.
This commit is contained in:
Fabian Homborg 2020-01-13 17:47:40 +01:00
parent 56f52bc693
commit 759d5a1fb3

View file

@ -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;
}