diff options
Diffstat (limited to '')
-rw-r--r-- | src/unix/Daemon.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unix/Daemon.cxx b/src/unix/Daemon.cxx index 490b2def5..c3638cc80 100644 --- a/src/unix/Daemon.cxx +++ b/src/unix/Daemon.cxx @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2014 The Music Player Daemon Project + * Copyright (C) 2003-2015 The Music Player Daemon Project * http://www.musicpd.org * * This program is free software; you can redistribute it and/or modify @@ -71,7 +71,7 @@ daemonize_kill(void) if (pidfile.IsNull()) FatalError("no pid_file specified in the config file"); - fp = FOpen(pidfile, "r"); + fp = FOpen(pidfile, PATH_LITERAL("r")); if (fp == nullptr) { const std::string utf8 = pidfile.ToUTF8(); FormatFatalSystemError("Unable to open pid file \"%s\"", |