vserver 1.9.3
[linux-2.6.git] / drivers / char / vt_ioctl.c
index 682b44e..dd8e2f7 100644 (file)
@@ -536,8 +536,7 @@ int vt_ioctl(struct tty_struct *tty, struct file * file,
                  default:
                        return -EINVAL;
                }
-               if (tty->ldisc.flush_buffer)
-                       tty->ldisc.flush_buffer(tty);
+               tty_ldisc_flush(tty);
                return 0;
 
        case KDGKBMODE: