From 9ed0152cf27f6151309a1261370f555368fb4885 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 5 Mar 2015 08:09:05 +0100 Subject: unix/PidFile: use the UTF-8 path for error message --- src/unix/PidFile.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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()); } } -- cgit v1.2.3