* fhandler_tty_slave.cc (fhandler_tty_slave::fhandler_tty_slave): Revert

previous change since unit 0 is perfectly valid.
This commit is contained in:
Christopher Faylor 2011-06-13 23:49:00 +00:00
parent e75cc8b1d0
commit 0fdbb2d0cd
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-06-13 Christopher Faylor <me.cygwin2011@cgf.cx>
* fhandler_tty_slave.cc (fhandler_tty_slave::fhandler_tty_slave):
Revert previous change since unit 0 is perfectly valid.
2011-06-12 Christopher Faylor <me.cygwin2011@cgf.cx>
Rename FH_BAD to FH_NADA throughout.

View File

@ -472,7 +472,7 @@ process_ioctl (void *)
fhandler_tty_slave::fhandler_tty_slave (int unit)
: fhandler_tty_common (), inuse (NULL)
{
if (unit > 0)
if (unit >= 0)
dev ().parse (DEV_TTYS_MAJOR, unit);
}