diff options
author | jhb <jhb@FreeBSD.org> | 2007-11-19 20:49:42 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2007-11-19 20:49:42 +0000 |
commit | 3c82b6a5c7d5c1b0800e60202216524aac645532 (patch) | |
tree | 70ee847ae5453ab9f6cf078584c8e251c0befa63 /lib/libutil | |
parent | d1d1db8b7021fd2ce10a8b913f2a8f7b6a939577 (diff) | |
download | FreeBSD-src-3c82b6a5c7d5c1b0800e60202216524aac645532.zip FreeBSD-src-3c82b6a5c7d5c1b0800e60202216524aac645532.tar.gz |
Bump up the number of ttys supported by pty(4) to 512 by making use of
[pt]ty[lmnoLMNO][0-9a-v].
MFC after: 3 days
Reviewed by: rwatson
Diffstat (limited to 'lib/libutil')
-rw-r--r-- | lib/libutil/pty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libutil/pty.c b/lib/libutil/pty.c index 7b67033..c94ce99 100644 --- a/lib/libutil/pty.c +++ b/lib/libutil/pty.c @@ -107,7 +107,7 @@ openpty(int *amaster, int *aslave, char *name, struct termios *termp, struct win else ttygid = -1; - for (cp1 = "pqrsPQRS"; *cp1; cp1++) { + for (cp1 = "pqrsPQRSlmnoLMNO"; *cp1; cp1++) { line[8] = *cp1; for (cp2 = "0123456789abcdefghijklmnopqrstuv"; *cp2; cp2++) { line[5] = 'p'; |