unix/PidFile: use the UTF-8 path for error message
This commit is contained in:
parent
250332a8d5
commit
9ed0152cf2
@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user