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 eb2871cb1..e9a2470e4 100644 --- a/libbb/xconnect.c +++ b/libbb/xconnect.c | |||
@@ -66,7 +66,7 @@ int FAST_FUNC setsockopt_bindtodevice(int fd, const char *iface) | |||
66 | int FAST_FUNC setsockopt_bindtodevice(int fd UNUSED_PARAM, | 66 | int FAST_FUNC setsockopt_bindtodevice(int fd UNUSED_PARAM, |
67 | const char *iface UNUSED_PARAM) | 67 | const char *iface UNUSED_PARAM) |
68 | { | 68 | { |
69 | bb_error_msg("SO_BINDTODEVICE is not supported on this system"); | 69 | bb_simple_error_msg("SO_BINDTODEVICE is not supported on this system"); |
70 | return -1; | 70 | return -1; |
71 | } | 71 | } |
72 | #endif | 72 | #endif |
@@ -109,7 +109,7 @@ void FAST_FUNC xconnect(int s, const struct sockaddr *s_addr, socklen_t addrlen) | |||
109 | bb_perror_msg_and_die("%s (%s)", | 109 | bb_perror_msg_and_die("%s (%s)", |
110 | "can't connect to remote host", | 110 | "can't connect to remote host", |
111 | inet_ntoa(((struct sockaddr_in *)s_addr)->sin_addr)); | 111 | inet_ntoa(((struct sockaddr_in *)s_addr)->sin_addr)); |
112 | bb_perror_msg_and_die("can't connect to remote host"); | 112 | bb_simple_perror_msg_and_die("can't connect to remote host"); |
113 | } | 113 | } |
114 | } | 114 | } |
115 | 115 | ||