]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/tty/pty.c
TTY: switch tty_insert_flip_string
[karo-tx-linux.git] / drivers / tty / pty.c
index be6a373601b783677b876a512854edcfb28f3732..3c285d398f385159f1c94b14a15fae177545cbc8 100644 (file)
@@ -120,7 +120,7 @@ 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);