aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/vt_ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/vt_ioctl.c')
-rw-r--r--drivers/char/vt_ioctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/vt_ioctl.c b/drivers/char/vt_ioctl.c
index c799b7f7bbb3..7a61a2a9aafe 100644
--- a/drivers/char/vt_ioctl.c
+++ b/drivers/char/vt_ioctl.c
@@ -1032,7 +1032,7 @@ static DECLARE_WAIT_QUEUE_HEAD(vt_activate_queue);
1032 1032
1033/* 1033/*
1034 * Sleeps until a vt is activated, or the task is interrupted. Returns 1034 * Sleeps until a vt is activated, or the task is interrupted. Returns
1035 * 0 if activation, -EINTR if interrupted. 1035 * 0 if activation, -EINTR if interrupted by a signal handler.
1036 */ 1036 */
1037int vt_waitactive(int vt) 1037int vt_waitactive(int vt)
1038{ 1038{
@@ -1057,7 +1057,7 @@ int vt_waitactive(int vt)
1057 break; 1057 break;
1058 } 1058 }
1059 release_console_sem(); 1059 release_console_sem();
1060 retval = -EINTR; 1060 retval = -ERESTARTNOHAND;
1061 if (signal_pending(current)) 1061 if (signal_pending(current))
1062 break; 1062 break;
1063 schedule(); 1063 schedule();