summaryrefslogtreecommitdiff
path: root/console
diff options
context:
space:
mode:
Diffstat (limited to 'console')
-rw-r--r--console/vga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/console/vga.c b/console/vga.c
index 87c863c7..77b8dee3 100644
--- a/console/vga.c
+++ b/console/vga.c
@@ -63,7 +63,7 @@ vga_init (void)
void
vga_deinit (void)
{
- io_perm (VGA_MIN_REG, VGA_MAX_REG, 0);
+ ioperm (VGA_MIN_REG, VGA_MAX_REG, 0);
munmap (vga_videomem, VGA_VIDEO_MEM_LENGTH);
}