diff options
author | Max Kellermann <max@duempel.org> | 2015-03-05 08:09:05 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-03-05 08:09:08 +0100 |
commit | 9ed0152cf27f6151309a1261370f555368fb4885 (patch) | |
tree | 3e0f151a5273b863c832aa0e8422871f8fa514b5 /src/unix | |
parent | 250332a8d51c6fc79f156da748b02761143fabe6 (diff) | |
download | mpd-9ed0152cf27f6151309a1261370f555368fb4885.tar.gz mpd-9ed0152cf27f6151309a1261370f555368fb4885.tar.xz mpd-9ed0152cf27f6151309a1261370f555368fb4885.zip |
unix/PidFile: use the UTF-8 path for error message
Diffstat (limited to 'src/unix')
-rw-r--r-- | src/unix/PidFile.hxx | 2 |
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()); } } |