Commit 9ed0152c authored by Max Kellermann's avatar Max Kellermann

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

parent 250332a8
...@@ -41,7 +41,7 @@ public: ...@@ -41,7 +41,7 @@ public:
if (file == nullptr) { if (file == nullptr) {
const std::string utf8 = path.ToUTF8(); const std::string utf8 = path.ToUTF8();
FormatFatalSystemError("Failed to create pid file \"%s\"", FormatFatalSystemError("Failed to create pid file \"%s\"",
path.c_str()); utf8.c_str());
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment