Initialize t_timeout to -1 for console to set its default value once in ttyopen

This commit is contained in:
Andrey A. Chernov 2000-05-01 09:21:08 +00:00
parent 68c68f014d
commit e52ac4f6d6

View File

@ -2526,6 +2526,7 @@ scinit(int unit, int flags)
if (flags & SC_KERNEL_CONSOLE) {
sc->dev = main_devs;
sc->dev[0] = makedev(CDEV_MAJOR, unit*MAXCONS);
main_tty.t_timeout = -1;
sc->dev[0]->si_tty = &main_tty;
ttyregister(&main_tty);
scp = &main_console;