tty: add termios_callback

This commit is contained in:
Matheus
2025-08-15 22:52:23 -03:00
parent 173cd78b14
commit 0c6a00bc6b
4 changed files with 30 additions and 9 deletions
+1 -1
View File
@@ -266,7 +266,7 @@ static int open(int oldminor, vnode_t **vnode, int flags) {
// create a pairing slave device
snprintf(tmpname, 20, "pts/%d", newminor);
pty->tty = tty_create(tmpname, writetopty, inactivepty, pty);
pty->tty = tty_create(tmpname, writetopty, inactivepty, NULL, pty);
if (pty->tty == NULL) {
VOP_RELEASE(pty->mastervnode);
return ENOMEM;