summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
Diffstat (limited to 'hw')
-rw-r--r--hw/xfree86/os-support/bus/linuxPci.c2
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 0a1d16727..de75fc486 100644
--- a/hw/xfree86/os-support/bus/linuxPci.c
+++ b/hw/xfree86/os-support/bus/linuxPci.c
@@ -380,7 +380,7 @@ xf86GetPciDomain(PCITAG Tag)
return 1; /* Domain 0 is reserved */
if ((result = PCI_DOM_FROM_TAG(Tag)) != 0)
- return result;
+ return result + 1;
if ((fd = linuxPciOpenFile(dev, FALSE)) < 0)
return 0;