fix an error message
git-svn-id: https://svn.musicpd.org/mpd/trunk@3043 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
4c7c6ca4a6
commit
c673bc86cd
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue