diff options
Diffstat (limited to 'libbb/xconnect.c')
-rw-r--r-- | libbb/xconnect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/xconnect.c b/libbb/xconnect.c index 7cf9d00e9..21ec2761a 100644 --- a/libbb/xconnect.c +++ b/libbb/xconnect.c | |||
@@ -54,9 +54,9 @@ void xconnect(int s, const struct sockaddr *s_addr, socklen_t addrlen) | |||
54 | if (connect(s, s_addr, addrlen) < 0) { | 54 | if (connect(s, s_addr, addrlen) < 0) { |
55 | if (ENABLE_FEATURE_CLEAN_UP) close(s); | 55 | if (ENABLE_FEATURE_CLEAN_UP) close(s); |
56 | if (s_addr->sa_family == AF_INET) | 56 | if (s_addr->sa_family == AF_INET) |
57 | bb_perror_msg_and_die("unable to connect to remote host (%s)", | 57 | bb_perror_msg_and_die("cannot connect to remote host (%s)", |
58 | inet_ntoa(((struct sockaddr_in *)s_addr)->sin_addr)); | 58 | inet_ntoa(((struct sockaddr_in *)s_addr)->sin_addr)); |
59 | bb_perror_msg_and_die("unable to connect to remote host"); | 59 | bb_perror_msg_and_die("cannot connect to remote host"); |
60 | } | 60 | } |
61 | } | 61 | } |
62 | 62 | ||