提交 60680f97 编写于 作者: A Arthur Taylor 提交者: Greg Kroah-Hartman

vt: Add K_OFF return value to vt_ioctl KDGKBMODE

After adding support for K_OFF in KDSKBMODE, it was forgotten to
add support for returning it in KDGKBMODE.
Signed-off-by: NArthur Taylor <art@ified.ca>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 909bc774
......@@ -701,6 +701,7 @@ int vt_ioctl(struct tty_struct *tty,
uival = ((kbd->kbdmode == VC_RAW) ? K_RAW :
(kbd->kbdmode == VC_MEDIUMRAW) ? K_MEDIUMRAW :
(kbd->kbdmode == VC_UNICODE) ? K_UNICODE :
(kbd->kbdmode == VC_OFF) ? K_OFF :
K_XLATE);
goto setint;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册