Skip to content

Commit 9d1b9aa

Browse files
rscharfegitster
authored andcommitted
daemon: fix error message after bind()
Signed-off-by: Rene Scharfe <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent eb6c403 commit 9d1b9aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

daemon.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,7 @@ static int setup_named_sock(char *listen_addr, int listen_port, struct socketlis
950950
}
951951

952952
if ( bind(sockfd, (struct sockaddr *)&sin, sizeof sin) < 0 ) {
953-
logerror("Could not listen to %s: %s",
953+
logerror("Could not bind to %s: %s",
954954
ip2str(AF_INET, (struct sockaddr *)&sin, sizeof(sin)),
955955
strerror(errno));
956956
close(sockfd);

0 commit comments

Comments
 (0)