summaryrefslogtreecommitdiff
path: root/libbb/xconnect.c
diff options
context:
space:
mode:
authorDenis Vlasenko2006-11-18 22:04:09 +0000
committerDenis Vlasenko2006-11-18 22:04:09 +0000
commit89f0b3486dfea233e6000f9af95b39a3ea7fd96e (patch)
treefc0d65e0d33b5b526b0d44d4c4da8143be3b53b1 /libbb/xconnect.c
parent61126ab30a90b74e45a79ccb97074ab71afa6054 (diff)
downloadbusybox-89f0b3486dfea233e6000f9af95b39a3ea7fd96e.zip
busybox-89f0b3486dfea233e6000f9af95b39a3ea7fd96e.tar.gz
rodata cleanup. "unable to" == "cannot". -300 bytes
Diffstat (limited to 'libbb/xconnect.c')
-rw-r--r--libbb/xconnect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/xconnect.c b/libbb/xconnect.c
index 7cf9d00..21ec276 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)
if (connect(s, s_addr, addrlen) < 0) {
if (ENABLE_FEATURE_CLEAN_UP) close(s);
if (s_addr->sa_family == AF_INET)
- bb_perror_msg_and_die("unable to connect to remote host (%s)",
+ bb_perror_msg_and_die("cannot connect to remote host (%s)",
inet_ntoa(((struct sockaddr_in *)s_addr)->sin_addr));
- bb_perror_msg_and_die("unable to connect to remote host");
+ bb_perror_msg_and_die("cannot connect to remote host");
}
}