]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/tty/pty.c
TTY: switch tty_flip_buffer_push
[karo-tx-linux.git] / drivers / tty / pty.c
index 3c285d398f385159f1c94b14a15fae177545cbc8..32d027c303aa04066d12c35d67e55f69b2805cdf 100644 (file)
@@ -123,7 +123,7 @@ static int pty_write(struct tty_struct *tty, const unsigned char *buf, int 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);
                }
        }