summaryrefslogtreecommitdiff
path: root/zen/last_error.h
diff options
context:
space:
mode:
Diffstat (limited to 'zen/last_error.h')
-rw-r--r--zen/last_error.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/zen/last_error.h b/zen/last_error.h
index 28982b63..76850f6a 100644
--- a/zen/last_error.h
+++ b/zen/last_error.h
@@ -8,7 +8,7 @@
#define SYSTEMFUNCTIONS_H_INCLUDED
#include <string>
-#include "utf8.h"
+#include "utf.h"
#include "i18n.h"
#ifdef FFS_WIN
@@ -116,7 +116,7 @@ std::wstring getLastErrorFormatted(ErrorCode lastError)
replace(output, L"%x", numberTo<std::wstring>(lastError));
output += L" ";
- output += utf8CvrtTo<std::wstring>(::strerror(lastError));
+ output += utfCvrtTo<std::wstring>(::strerror(lastError));
errno = lastError; //restore errno
return output;
bgstack15