diff options
author | Ian Romanick <idr@us.ibm.com> | 2007-02-14 15:38:10 -0800 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2007-02-14 15:38:10 -0800 |
commit | e540d572c5acba877b3ce01e7b31e399dac2d44a (patch) | |
tree | e03a388b1003bd01cba9b9d4725cc59b24db49ca /hw/xfree86/os-support | |
parent | 16eb7254f861465f988ae3861ac3449c2c966062 (diff) |
Merge fix missed on previous commit.
Diffstat (limited to 'hw/xfree86/os-support')
-rw-r--r-- | hw/xfree86/os-support/bus/linuxPci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/os-support/bus/linuxPci.c b/hw/xfree86/os-support/bus/linuxPci.c index c8f43c94d..b88fae6c7 100644 --- a/hw/xfree86/os-support/bus/linuxPci.c +++ b/hw/xfree86/os-support/bus/linuxPci.c @@ -402,7 +402,7 @@ linuxMapPci(int ScreenNum, int Flags, struct pci_device *dev, * will fail gracefully. */ prot = ((Flags & VIDMEM_READONLY) == 0); - if (((fd = linuxPciOpenFile(Tag, prot)) < 0) || + if (((fd = linuxPciOpenFile(dev, prot)) < 0) || (ioctl(fd, mmap_ioctl, 0) < 0)) break; |