proper bind error message for unix socket
git-svn-id: https://svn.musicpd.org/mpd/trunk@7238 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
913b2b8399
commit
6142959456
@ -183,7 +183,8 @@ static void parseListenConfigParam(unsigned int port, ConfigParam * param)
|
||||
addrlen = sizeof(sun);
|
||||
|
||||
if (establishListen(addrp, addrlen) < 0)
|
||||
BINDERROR();
|
||||
FATAL("unable to bind to %s: %s\n",
|
||||
param->value, strerror(errno));
|
||||
#endif /* HAVE_UN */
|
||||
} else {
|
||||
#ifdef HAVE_TCP
|
||||
|
Loading…
Reference in New Issue
Block a user