diff options
Diffstat (limited to 'zen/sys_error.h')
-rwxr-xr-x | zen/sys_error.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/sys_error.h b/zen/sys_error.h index a19409ab..f7c128ef 100755 --- a/zen/sys_error.h +++ b/zen/sys_error.h @@ -67,7 +67,7 @@ std::wstring formatSystemErrorRaw(ErrorCode ec) //return empty string on error std::wstring errorMsg;
ZEN_ON_SCOPE_EXIT(errno = currentError);
- errorMsg = utfCvrtTo<std::wstring>(::strerror(ec));
+ errorMsg = utfTo<std::wstring>(::strerror(ec));
trim(errorMsg); //Windows messages seem to end with a blank...
return errorMsg;
|