diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-12-19 01:27:08 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-12-19 01:27:08 +0000 |
commit | 58ca9d8743369db4e5b41a2a84c98ccf86155ea3 (patch) | |
tree | 0bca83273a63e848070ffdfbf94fd4bcacebe0e9 /libexec/telnetd/telnetd.c | |
parent | b176f95e7f567cca83727565bd39e1a63d8885f0 (diff) |
less cryptic message on pty allocation failure
Diffstat (limited to 'libexec/telnetd/telnetd.c')
-rw-r--r-- | libexec/telnetd/telnetd.c | 6 |
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; |