Minor number for pty device nodes computed wrongly
This commit is contained in:
parent
c5b1394133
commit
f463c247b6
@ -1526,7 +1526,7 @@ PRIVATE void tty_init()
|
||||
tp->tty_minor = RS232_MINOR + s-NR_CONS;
|
||||
} else {
|
||||
pty_init(tp);
|
||||
tp->tty_minor = s + TTYPX_MINOR + s-(NR_CONS+RS232_MINOR);
|
||||
tp->tty_minor = s - (NR_CONS+NR_RS_LINES) + TTYPX_MINOR;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user