Commit bc666a9f authored by Warren Dukes's avatar Warren Dukes

forgot to print a strerror

git-svn-id: https://svn.musicpd.org/mpd/trunk@3466 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 9d52ff34
...@@ -145,7 +145,7 @@ static int establishListen(unsigned int port, ConfigParam * param) { ...@@ -145,7 +145,7 @@ static int establishListen(unsigned int port, ConfigParam * param) {
if(setsockopt(sock,SOL_SOCKET,SO_REUSEADDR,(char *)&allowReuse, if(setsockopt(sock,SOL_SOCKET,SO_REUSEADDR,(char *)&allowReuse,
sizeof(allowReuse))<0) sizeof(allowReuse))<0)
{ {
ERROR("problems setsockopt'ing\n"); ERROR("problems setsockopt'ing: %s\n", strerror(errno));
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }
......
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