summaryrefslogtreecommitdiff
path: root/console/vga.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-03-18 06:57:44 +0000
committerRoland McGrath <roland@gnu.org>2002-03-18 06:57:44 +0000
commitada219d88cd4d2d2c11be4afd5c6aa7354e0665f (patch)
tree96963c8ba2e7b771c62d458bd1f4bef89bc706fc /console/vga.c
parent9bee45564813002368a1c58cce88e2a451cbe201 (diff)
2002-03-17 Roland McGrath <roland@frob.com>
* vga.c (vga_init): io_perm -> ioperm. * dynafont.c: Include <string.h>. * focus.c: Likewise. * vga.c: Likewise. * vga-display.c: Likewise.
Diffstat (limited to 'console/vga.c')
-rw-r--r--console/vga.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/console/vga.c b/console/vga.c
index 9ad9c08c..87c863c7 100644
--- a/console/vga.c
+++ b/console/vga.c
@@ -25,6 +25,7 @@
#include <sys/io.h>
#include <sys/mman.h>
#include <sys/types.h>
+#include <string.h>
#include "vga-hw.h"
#include "vga.h"
@@ -41,7 +42,7 @@ vga_init (void)
error_t err;
int fd;
- if (io_perm (VGA_MIN_REG, VGA_MAX_REG - VGA_MIN_REG + 1, 1) < 0)
+ if (ioperm (VGA_MIN_REG, VGA_MAX_REG - VGA_MIN_REG + 1, 1) < 0)
return errno;
fd = open ("/dev/mem", O_RDWR);