Fix from HEAD accidentally reverted during merge.

This commit is contained in:
Ian Romanick 2006-10-24 09:04:14 -07:00
parent 8b90913566
commit 27d682fa03

View File

@ -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;