From cc9a9ed87bd5b700c81ae999358e2b063592b393 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Tue, 13 Jan 2004 10:26:56 +0000 Subject: Add another devfs subdir to the list of checked subdirs. --- libc/termios/ttyname.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libc/termios') 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 */ -- cgit v1.2.3