]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - drivers/tty/pty.c
TTY: switch tty_flip_buffer_push
[mirror_ubuntu-hirsute-kernel.git] / drivers / tty / pty.c
index be6a373601b783677b876a512854edcfb28f3732..32d027c303aa04066d12c35d67e55f69b2805cdf 100644 (file)
@@ -120,10 +120,10 @@ static int pty_write(struct tty_struct *tty, const unsigned char *buf, int c)
 
        if (c > 0) {
                /* Stuff the data into the input queue of the other end */
-               c = tty_insert_flip_string(to, buf, c);
+               c = tty_insert_flip_string(to->port, buf, c);
                /* And shovel */
                if (c) {
-                       tty_flip_buffer_push(to);
+                       tty_flip_buffer_push(to->port);
                        tty_wakeup(tty);
                }
        }