aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-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);
}