diff options
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/vt/vt_ioctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/vt/vt_ioctl.c b/drivers/tty/vt/vt_ioctl.c index 5f61b25a9aaa..3813c40f1b48 100644 --- a/drivers/tty/vt/vt_ioctl.c +++ b/drivers/tty/vt/vt_ioctl.c @@ -596,12 +596,12 @@ static int vt_io_ioctl(struct vc_data *vc, unsigned int cmd, void __user *up, return con_font_op(vc, &op); case PIO_CMAP: - if (!perm) + if (!perm) return -EPERM; return con_set_cmap(up); case GIO_CMAP: - return con_get_cmap(up); + return con_get_cmap(up); case PIO_FONTX: if (!perm) |