From bf3be036cece1ed86f7f65b3006e680255a5f079 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Wed, 3 Nov 2004 20:26:11 +0000 Subject: todo update git-svn-id: https://svn.musicpd.org/mpd/trunk@2502 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/listen.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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); } -- cgit v1.2.3