Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/telnet restore perror -> warn (reported by Havard Ei...



details:   https://anonhg.NetBSD.org/src/rev/a1c4e0f54ce1
branches:  trunk
changeset: 949327:a1c4e0f54ce1
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jan 09 18:22:42 2021 +0000

description:
restore perror -> warn (reported by Havard Eidnes)

diffstat:

 usr.bin/telnet/commands.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c33e9d445ea8 -r a1c4e0f54ce1 usr.bin/telnet/commands.c
--- a/usr.bin/telnet/commands.c Sat Jan 09 18:21:08 2021 +0000
+++ b/usr.bin/telnet/commands.c Sat Jan 09 18:22:42 2021 +0000
@@ -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 @@
     }
     freeaddrinfo(res0);
     if (net < 0 || connected == 0) {
-       warnx("%s", cause);
+       warn("%s", cause);
        return 0;
     }
 



Home | Main Index | Thread Index | Old Index