Browse Source

Add another devfs subdir to the list of checked subdirs.

Manuel Novoa III 21 years ago
parent
commit
cc9a9ed87b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      libc/termios/ttyname.c

+ 1 - 0
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 */