aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-11-03 20:26:11 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-11-03 20:26:11 +0000
commitbf3be036cece1ed86f7f65b3006e680255a5f079 (patch)
tree07e21b599d64cc0fd412a09cedbfe845f8409306 /src
parent405ad9e58bbb1be771d777f00b253e03061f6b2e (diff)
downloadmpd-bf3be036cece1ed86f7f65b3006e680255a5f079.tar.gz
mpd-bf3be036cece1ed86f7f65b3006e680255a5f079.tar.xz
mpd-bf3be036cece1ed86f7f65b3006e680255a5f079.zip
todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@2502 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src')
-rw-r--r--src/listen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/listen.c b/src/listen.c
index cac9492b8..7446f2e91 100644
--- a/src/listen.c
+++ b/src/listen.c
@@ -151,7 +151,8 @@ static int establishListen(unsigned int port, ConfigParam * param) {
}
if(bind(sock,addrp,addrlen)<0) {
- ERROR("unable to bind port %i: %s\n", port, strerror(errno));
+ ERROR("unable to bind port %i (for address at line %i): %s\n",
+ port, param->line, strerror(errno));
ERROR("maybe MPD is still running?\n");
exit(EXIT_FAILURE);
}