summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1998-12-19 01:27:07 +0000
committerderaadt <deraadt@openbsd.org>1998-12-19 01:27:07 +0000
commit2d78b1825373cb18b77935c338d4f3017343ebea (patch)
tree2d1591defe9c781d818cf5594885510bef5a7e47
parentpr is @ /usr/bin not /bin. Noted by Corey Brenner <coreybrenner@hotmail.com> (diff)
downloadwireguard-openbsd-2d78b1825373cb18b77935c338d4f3017343ebea.tar.xz
wireguard-openbsd-2d78b1825373cb18b77935c338d4f3017343ebea.zip
less cryptic message on pty allocation failure
-rw-r--r--libexec/telnetd/telnetd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/telnetd/telnetd.c b/libexec/telnetd/telnetd.c
index bab0c144d8d..4ca3c3fafcf 100644
--- a/libexec/telnetd/telnetd.c
+++ b/libexec/telnetd/telnetd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: telnetd.c,v 1.15 1998/07/28 20:18:22 marc Exp $ */
+/* $OpenBSD: telnetd.c,v 1.16 1998/12/19 01:27:07 deraadt Exp $ */
/* $NetBSD: telnetd.c,v 1.6 1996/03/20 04:25:57 tls Exp $ */
/*
@@ -45,7 +45,7 @@ static char copyright[] =
static char sccsid[] = "@(#)telnetd.c 8.4 (Berkeley) 5/30/95";
static char rcsid[] = "$NetBSD: telnetd.c,v 1.5 1996/02/28 20:38:23 thorpej Exp $";
#else
-static char rcsid[] = "$OpenBSD: telnetd.c,v 1.15 1998/07/28 20:18:22 marc Exp $";
+static char rcsid[] = "$OpenBSD: telnetd.c,v 1.16 1998/12/19 01:27:07 deraadt Exp $";
#endif
#endif /* not lint */
@@ -812,7 +812,7 @@ doit(who)
#ifndef convex
pty = getpty(&ptynum);
if (pty < 0)
- fatal(net, "All network ports in use");
+ fatal(net, "No free pseudo-tty devices.");
#else
for (;;) {
char *lp;