Commit 61429594 authored by Max Kellermann's avatar Max Kellermann Committed by Eric Wong

proper bind error message for unix socket

git-svn-id: https://svn.musicpd.org/mpd/trunk@7238 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 913b2b83
......@@ -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
......
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