diff options
author | Alex Auvolat <alex@adnab.me> | 2015-03-10 20:23:13 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2015-03-10 20:23:13 +0100 |
commit | 0e50ada984473de20ba47c2ebdbe36b3dad78dd1 (patch) | |
tree | 7864cd0290a112244ef93fd590d018e52bbd16a3 /src/sysbin/giosrv | |
parent | 6d9cd139c42a48f5ddf8f8e284f56873de73fd31 (diff) | |
download | kogata-0e50ada984473de20ba47c2ebdbe36b3dad78dd1.tar.gz kogata-0e50ada984473de20ba47c2ebdbe36b3dad78dd1.zip |
Add mutex to pciide driver (fixes some stuff)
Diffstat (limited to 'src/sysbin/giosrv')
-rw-r--r-- | src/sysbin/giosrv/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |