aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 50726af85..f1a5a89b0 100644
--- a/src/main.c
+++ b/src/main.c
@@ -395,7 +395,7 @@ void killMpdFromPidFile(char * cmd) {
if(!fp) {
ERROR("unable to open %s \"%s\" (config line %i): %s\n",
CONF_PID_FILE, pidFileParam->value,
- pidFileParam->line);
+ pidFileParam->line, strerror(errno));
exit(EXIT_FAILURE);
}
if(fscanf(fp, "%i", &pid) != 1) {