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/bdd9385094a1
branches: trunk
changeset: 979757:bdd9385094a1
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 2aea52aff03a -r bdd9385094a1 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