* 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

@@ -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);
}