* fhandler_tty_slave.cc (fhandler_tty_slave::fhandler_tty_slave): Revert
previous change since unit 0 is perfectly valid.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user