aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/dev/vesa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/dev/vesa.c')
-rw-r--r--src/kernel/dev/vesa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/dev/vesa.c b/src/kernel/dev/vesa.c
index e60cc98..67a6d70 100644
--- a/src/kernel/dev/vesa.c
+++ b/src/kernel/dev/vesa.c
@@ -356,7 +356,7 @@ fail_setup:
}
bool vesa_open(fs_node_t *n, int mode) {
- int ok_modes = FM_READ | FM_WRITE | FM_MMAP;
+ int ok_modes = FM_READ | FM_WRITE | FM_MMAP | FM_IOCTL;
if (mode & ~ok_modes) return false;
return true;