summaryrefslogtreecommitdiff
path: root/hw/xfree86/os-support/shared/bios_mmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/os-support/shared/bios_mmap.c')
-rw-r--r--hw/xfree86/os-support/shared/bios_mmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/os-support/shared/bios_mmap.c b/hw/xfree86/os-support/shared/bios_mmap.c
index a615a1d45..40afd5b8e 100644
--- a/hw/xfree86/os-support/shared/bios_mmap.c
+++ b/hw/xfree86/os-support/shared/bios_mmap.c
@@ -131,7 +131,7 @@ xf86ReadBIOS(unsigned long Base, unsigned long Offset, unsigned char *Buf,
return(-1);
}
- xf86SlowBcopy((unsigned char *)(base+Offset), Buf, Len);
+ xf86SlowBCopyFromBus((unsigned char *)(base+Offset), Buf, Len);
munmap((caddr_t)base, mlen);
close(fd);