X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fchar%2Fselection.c;h=2978a49a172b0cdba3d91814fd3b68b614645fea;hb=c5b0079c0a7641caac3fedab75e8e63aeb54d7e2;hp=d63f5ccc29e6de95f3141bc9a8df5444e6d94b19;hpb=489de30259e667d7bc47da9da44a0270b050cd97;p=linux-2.6 diff --git a/drivers/char/selection.c b/drivers/char/selection.c index d63f5ccc29..2978a49a17 100644 --- a/drivers/char/selection.c +++ b/drivers/char/selection.c @@ -327,7 +327,8 @@ int paste_selection(struct tty_struct *tty) } count = sel_buffer_lth - pasted; count = min(count, tty->receive_room); - tty->ldisc.receive_buf(tty, sel_buffer + pasted, NULL, count); + tty->ldisc.ops->receive_buf(tty, sel_buffer + pasted, + NULL, count); pasted += count; } remove_wait_queue(&vc->paste_wait, &wait);