summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index 2d39a82..cedcc72 100644
--- a/util.c
+++ b/util.c
@@ -205,7 +205,7 @@ connect_to_host(int socktype, const char *host, const char *port)
}
freeaddrinfo(result);
if (rp == NULL) {
- fprintf(stderr, "Failed to bind: %s\n", strerror(errno));
+ fprintf(stderr, "Failed to connect: %s\n", strerror(errno));
return -1;
}