aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2005-03-09 03:29:30 +0000
committerWarren Dukes <warren.dukes@gmail.com>2005-03-09 03:29:30 +0000
commitc673bc86cd7b16c9d4977f0c42862f44ce8b72d1 (patch)
tree7c645f9071222c7aaf639258da9d0dfd89d8eed6
parent4c7c6ca4a659519494af941af5adb90f8b01317a (diff)
downloadmpd-c673bc86cd7b16c9d4977f0c42862f44ce8b72d1.tar.gz
mpd-c673bc86cd7b16c9d4977f0c42862f44ce8b72d1.tar.xz
mpd-c673bc86cd7b16c9d4977f0c42862f44ce8b72d1.zip
fix an error message
git-svn-id: https://svn.musicpd.org/mpd/trunk@3043 09075e82-0dd4-0310-85a5-a0d7c8717e4f
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) {