summaryrefslogtreecommitdiff
path: root/hw/xfree86/int10/generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/int10/generic.c')
-rw-r--r--hw/xfree86/int10/generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/int10/generic.c b/hw/xfree86/int10/generic.c
index 012d1941a..8d5c4daf3 100644
--- a/hw/xfree86/int10/generic.c
+++ b/hw/xfree86/int10/generic.c
@@ -104,7 +104,7 @@ readIntVec(struct pci_device *dev, unsigned char *buf, int len)
{
void *map;
- if (!pci_device_map_legacy(dev, 0, len, 0, &map))
+ if (pci_device_map_legacy(dev, 0, len, 0, &map))
return FALSE;
memcpy(buf, map, len);