summaryrefslogtreecommitdiff
path: root/src/unix
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-03-05 08:09:05 +0100
committerMax Kellermann <max@duempel.org>2015-03-05 08:09:08 +0100
commit9ed0152cf27f6151309a1261370f555368fb4885 (patch)
tree3e0f151a5273b863c832aa0e8422871f8fa514b5 /src/unix
parent250332a8d51c6fc79f156da748b02761143fabe6 (diff)
unix/PidFile: use the UTF-8 path for error message
Diffstat (limited to 'src/unix')
-rw-r--r--src/unix/PidFile.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unix/PidFile.hxx b/src/unix/PidFile.hxx
index fab63a563..76d0f13cc 100644
--- a/src/unix/PidFile.hxx
+++ b/src/unix/PidFile.hxx
@@ -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());
}
}