This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / drivers / char / pty.c
index fcbb325..4cea8c0 100644 (file)
@@ -144,14 +144,14 @@ static int pty_write(struct tty_struct * tty, int from_user,
                        buf   += n; 
                        c     += n;
                        count -= n;
-                       to->ldisc.receive_buf(to, temp_buffer, NULL, n);
+                       to->ldisc.receive_buf(to, temp_buffer, 0, n);
                }
                up(&tty->flip.pty_sem);
        } else {
                c = to->ldisc.receive_room(to);
                if (c > count)
                        c = count;
-               to->ldisc.receive_buf(to, buf, NULL, c);
+               to->ldisc.receive_buf(to, buf, 0, c);
        }
        
        return c;