Module Name: src Committed By: christos Date: Sat Jan 9 18:22:43 UTC 2021
Modified Files: src/usr.bin/telnet: commands.c Log Message: restore perror -> warn (reported by Havard Eidnes) To generate a diff of this commit: cvs rdiff -u -r1.77 -r1.78 src/usr.bin/telnet/commands.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/telnet/commands.c diff -u src/usr.bin/telnet/commands.c:1.77 src/usr.bin/telnet/commands.c:1.78 --- src/usr.bin/telnet/commands.c:1.77 Fri Oct 4 07:39:44 2019 +++ src/usr.bin/telnet/commands.c Sat Jan 9 13:22:42 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: commands.c,v 1.77 2019/10/04 11:39:44 mrg Exp $ */ +/* $NetBSD: commands.c,v 1.78 2021/01/09 18:22:42 christos Exp $ */ /* * Copyright (C) 1997 and 1998 WIDE Project. @@ -63,7 +63,7 @@ #if 0 static char sccsid[] = "@(#)commands.c 8.4 (Berkeley) 5/30/95"; #else -__RCSID("$NetBSD: commands.c,v 1.77 2019/10/04 11:39:44 mrg Exp $"); +__RCSID("$NetBSD: commands.c,v 1.78 2021/01/09 18:22:42 christos Exp $"); #endif #endif /* not lint */ @@ -2232,7 +2232,7 @@ tn(int argc, char *argv[]) } freeaddrinfo(res0); if (net < 0 || connected == 0) { - warnx("%s", cause); + warn("%s", cause); return 0; }