diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1995-02-09 11:11:01 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1995-02-09 11:11:01 +0000 |
| commit | 1338e00966c16155b9579134faa9983d08051c01 (patch) | |
| tree | 6a76152d2be220e96e128d6dbb61f9479f5ae508 /lib/libutil | |
| parent | a8716840baa8866df54b787d76ca65158a42a5a0 (diff) | |
Notes
Diffstat (limited to 'lib/libutil')
| -rw-r--r-- | lib/libutil/pty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libutil/pty.c b/lib/libutil/pty.c index 1644aee39bb0..4443f0889c46 100644 --- a/lib/libutil/pty.c +++ b/lib/libutil/pty.c @@ -63,9 +63,9 @@ openpty(amaster, aslave, name, termp, winp) else ttygid = -1; - for (cp1 = "pqrs"; *cp1; cp1++) { + for (cp1 = "pqrsPQRS"; *cp1; cp1++) { line[8] = *cp1; - for (cp2 = "0123456789abcdef"; *cp2; cp2++) { + for (cp2 = "0123456789abcdefghijklmnopqrstuv"; *cp2; cp2++) { line[9] = *cp2; if ((master = open(line, O_RDWR, 0)) == -1) { if (errno == ENOENT) |
