diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2017-06-19 19:05:30 +0900 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2017-06-20 16:31:45 -0400 |
commit | 8e00dc59b51da7e0d3978c26b1884c4767aa2dc2 (patch) | |
tree | f78ee1636e87f5ddad0387c864d2ab73fa5509de | |
parent | e905b19a53f96013c4417bec993a1dea5a3b0a5f (diff) |
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>
-rw-r--r-- | hw/xfree86/common/xf86pciBus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/common/xf86pciBus.c b/hw/xfree86/common/xf86pciBus.c index ed82744b4..9d3447cdf 100644 --- a/hw/xfree86/common/xf86pciBus.c +++ b/hw/xfree86/common/xf86pciBus.c @@ -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); } } |