aboutsummaryrefslogtreecommitdiff
path: root/telnet.c
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2001-01-31 19:00:21 +0000
committerMatt Kraai <kraai@debian.org>2001-01-31 19:00:21 +0000
commitdd19c6990496023fe23fefef8f1798740f7d39c6 (patch)
tree3933adefa4171173db78fa2389146ac89f4edb86 /telnet.c
parent63ec2732454a0c973305794e185e488106f6b282 (diff)
downloadbusybox-dd19c6990496023fe23fefef8f1798740f7d39c6.tar.gz
Removed trailing \n from error_msg{,_and_die} messages.
Diffstat (limited to 'telnet.c')
-rw-r--r--telnet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/telnet.c b/telnet.c
index 8f7bbf29b..b08effed7 100644
--- a/telnet.c
+++ b/telnet.c
@@ -584,7 +584,7 @@ static int getport(char * p)
if ((unsigned)(port - 1 ) > 65534)
{
- error_msg_and_die("%s: bad port number\n", p);
+ error_msg_and_die("%s: bad port number", p);
}
return port;
}
@@ -596,7 +596,7 @@ static struct in_addr getserver(char * host)
struct hostent * he;
if ((he = gethostbyname(host)) == NULL)
{
- error_msg_and_die("%s: Unknown host\n", host);
+ error_msg_and_die("%s: Unknown host", host);
}
memcpy(&addr, he->h_addr, sizeof addr);