diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2005-09-03 22:48:37 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2005-09-03 22:48:37 +0000 |
commit | bc666a9fc6dbd25bc9fd8cfe20d46bab9582682b (patch) | |
tree | b107656072f9ade9b1aaa8a0c7b7cab3d6eb2ab0 | |
parent | 9d52ff34446958cc4bead8674774885bf73ac166 (diff) | |
download | mpd-bc666a9fc6dbd25bc9fd8cfe20d46bab9582682b.tar.gz mpd-bc666a9fc6dbd25bc9fd8cfe20d46bab9582682b.tar.xz mpd-bc666a9fc6dbd25bc9fd8cfe20d46bab9582682b.zip |
forgot to print a strerror
git-svn-id: https://svn.musicpd.org/mpd/trunk@3466 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r-- | src/listen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/listen.c b/src/listen.c index 33d035a3c..a951595fc 100644 --- a/src/listen.c +++ b/src/listen.c @@ -145,7 +145,7 @@ static int establishListen(unsigned int port, ConfigParam * param) { if(setsockopt(sock,SOL_SOCKET,SO_REUSEADDR,(char *)&allowReuse, sizeof(allowReuse))<0) { - ERROR("problems setsockopt'ing\n"); + ERROR("problems setsockopt'ing: %s\n", strerror(errno)); exit(EXIT_FAILURE); } |