diff options
author | Matt Kraai <kraai@debian.org> | 2000-12-18 03:57:16 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2000-12-18 03:57:16 +0000 |
commit | 1fa1adea2ae16d4f4c82d7466905dce4c6edd5f5 (patch) | |
tree | b85a425c19b299f5d8635599e11c78c96f12a4c2 /networking/telnet.c | |
parent | 0dab82997777bffb95d01d68e1628ee79207a03d (diff) |
Change calls to error_msg.* and strerror to use perror_msg.*.
Diffstat (limited to 'networking/telnet.c')
-rw-r--r-- | networking/telnet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/telnet.c b/networking/telnet.c index 7a7bcfb9f..fff8c06b5 100644 --- a/networking/telnet.c +++ b/networking/telnet.c @@ -650,7 +650,7 @@ static int remote_connect(struct in_addr addr, int port) if (connect(s, (struct sockaddr *)&s_addr, sizeof s_addr) < 0) { - error_msg_and_die("Unable to connect to remote host: %s\n", strerror(errno)); + perror_msg_and_die("Unable to connect to remote host"); } return s; } |