unix/PidFile: use the UTF-8 path for error message

This commit is contained in:
Max Kellermann 2015-03-05 08:09:05 +01:00
parent 250332a8d5
commit 9ed0152cf2

View File

@ -41,7 +41,7 @@ public:
if (file == nullptr) {
const std::string utf8 = path.ToUTF8();
FormatFatalSystemError("Failed to create pid file \"%s\"",
path.c_str());
utf8.c_str());
}
}