diff options
Diffstat (limited to 'kernel/drivers/tty/vt/selection.c')
-rw-r--r-- | kernel/drivers/tty/vt/selection.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/drivers/tty/vt/selection.c b/kernel/drivers/tty/vt/selection.c index ea27804d8..381a2b136 100644 --- a/kernel/drivers/tty/vt/selection.c +++ b/kernel/drivers/tty/vt/selection.c @@ -356,6 +356,7 @@ int paste_selection(struct tty_struct *tty) schedule(); continue; } + __set_current_state(TASK_RUNNING); count = sel_buffer_lth - pasted; count = tty_ldisc_receive_buf(ld, sel_buffer + pasted, NULL, count); |