summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2004-01-13 10:26:56 +0000
committerManuel Novoa III <mjn3@codepoet.org>2004-01-13 10:26:56 +0000
commitcc9a9ed87bd5b700c81ae999358e2b063592b393 (patch)
treeeb9b05992942e2fa1c264ee39e8522463491525a
parentad8d1eb44242ac942216c3e841474a6941277761 (diff)
Add another devfs subdir to the list of checked subdirs.
-rw-r--r--libc/termios/ttyname.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/termios/ttyname.c b/libc/termios/ttyname.c
index fcd10adf0..abd1beb95 100644
--- a/libc/termios/ttyname.c
+++ b/libc/termios/ttyname.c
@@ -35,6 +35,7 @@ static const char dirlist[] =
/* 12345670123 */
"\010/dev/vc/\0" /* Try /dev/vc first (be devfs compatible) */
"\011/dev/tts/\0" /* and /dev/tts next (be devfs compatible) */
+"\011/dev/pty/\0" /* and /dev/pty next (be devfs compatible) */
"\011/dev/pts/\0" /* and try /dev/pts next */
"\005/dev/\0"; /* and try walking through /dev last */