From 0e50ada984473de20ba47c2ebdbe36b3dad78dd1 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 10 Mar 2015 20:23:13 +0100 Subject: Add mutex to pciide driver (fixes some stuff) --- src/sysbin/giosrv/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sysbin/giosrv/main.c') diff --git a/src/sysbin/giosrv/main.c b/src/sysbin/giosrv/main.c index ab30664..04e57ea 100644 --- a/src/sysbin/giosrv/main.c +++ b/src/sysbin/giosrv/main.c @@ -11,7 +11,7 @@ int main(int argc, char **argv) { dbg_print("[giosrv] Starting up.\n"); - fd_t fbdev = open("io:/display/vesa", FM_READ | FM_WRITE | FM_MMAP); + fd_t fbdev = open("io:/display/vesa", FM_IOCTL | FM_READ | FM_WRITE | FM_MMAP); if (fbdev == 0) PANIC("Could not open fbdev"); framebuffer_info_t i; -- cgit v1.2.3