Fix from HEAD accidentally reverted during merge.
This commit is contained in:
parent
8b90913566
commit
27d682fa03
|
@ -380,7 +380,7 @@ xf86GetPciDomain(PCITAG Tag)
|
||||||
return 1; /* Domain 0 is reserved */
|
return 1; /* Domain 0 is reserved */
|
||||||
|
|
||||||
if ((result = PCI_DOM_FROM_TAG(Tag)) != 0)
|
if ((result = PCI_DOM_FROM_TAG(Tag)) != 0)
|
||||||
return result;
|
return result + 1;
|
||||||
|
|
||||||
if ((fd = linuxPciOpenFile(dev, FALSE)) < 0)
|
if ((fd = linuxPciOpenFile(dev, FALSE)) < 0)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue