diff options
Diffstat (limited to 'telnet.c')
-rw-r--r-- | telnet.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -650,7 +650,7 @@ static int remote_connect(struct in_addr addr, int port) | |||
650 | 650 | ||
651 | if (connect(s, (struct sockaddr *)&s_addr, sizeof s_addr) < 0) | 651 | if (connect(s, (struct sockaddr *)&s_addr, sizeof s_addr) < 0) |
652 | { | 652 | { |
653 | error_msg_and_die("Unable to connect to remote host: %s\n", strerror(errno)); | 653 | perror_msg_and_die("Unable to connect to remote host"); |
654 | } | 654 | } |
655 | return s; | 655 | return s; |
656 | } | 656 | } |