summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2017-06-19 19:05:30 +0900
committerAdam Jackson <ajax@redhat.com>2017-06-20 16:31:45 -0400
commit8e00dc59b51da7e0d3978c26b1884c4767aa2dc2 (patch)
treef78ee1636e87f5ddad0387c864d2ab73fa5509de
parente905b19a53f96013c4417bec993a1dea5a3b0a5f (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.c2
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);
}
}