Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
daemon: fix error message after bind()
[gitweb.git]
/
daemon.c
diff --git
a/daemon.c
b/daemon.c
index 25af533b97ec1eeb74fef3d51e97dc99f248fa98..3be38f4dbcb0e9f79a68ceccb33f29607536df41 100644
(file)
--- a/
daemon.c
+++ b/
daemon.c
@@
-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);