Commit c673bc86 authored by Warren Dukes's avatar Warren Dukes

fix an error message

git-svn-id: https://svn.musicpd.org/mpd/trunk@3043 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 4c7c6ca4
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment