diff options
author | René Scharfe <l.s.r@web.de> | 2014-10-01 12:18:15 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-10-01 13:34:54 -0700 |
commit | 9d1b9aa9e10da398f430bc619b361d83bee6df7d (patch) | |
tree | d03c4f8a2f4463e96c09da86bfc542acb8bfe841 /daemon.c | |
parent | eb6c403500dd0b0d78b7b00d7ed0bf6b5daccc4e (diff) | |
download | git-9d1b9aa9e10da398f430bc619b361d83bee6df7d.tar.gz |
daemon: fix error message after bind()
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'daemon.c')
-rw-r--r-- | daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -950,7 +950,7 @@ static int setup_named_sock(char *listen_addr, int listen_port, struct socketlis } if ( bind(sockfd, (struct sockaddr *)&sin, sizeof sin) < 0 ) { - logerror("Could not listen to %s: %s", + logerror("Could not bind to %s: %s", ip2str(AF_INET, (struct sockaddr *)&sin, sizeof(sin)), strerror(errno)); close(sockfd); |