diff options
Diffstat (limited to 'networking/telnet.c')
-rw-r--r-- | networking/telnet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/telnet.c b/networking/telnet.c index 8f7bbf2..b08effe 100644 --- a/networking/telnet.c +++ b/networking/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); |