xfree86: Fix printing of PCI domain/bus in xf86MatchPciInstances

It was attempting to use the <bus>@<domain> format accepted by the BusID
stanza, but the two values were swapped.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
Michel Dänzer 2017-06-19 19:05:30 +09:00 committed by Adam Jackson
parent e905b19a53
commit 8e00dc59b5

View File

@ -859,7 +859,7 @@ xf86MatchPciInstances(const char *driverName, int vendorID,
if (xf86CheckPciSlot(pPci) && pciDeviceHasBars(pPci)) {
xf86MsgVerb(X_WARNING, 0, "%s: No matching Device section "
"for instance (BusID PCI:%u@%u:%u:%u) found\n",
driverName, pPci->domain, pPci->bus, pPci->dev,
driverName, pPci->bus, pPci->domain, pPci->dev,
pPci->func);
}
}