From 8e00dc59b51da7e0d3978c26b1884c4767aa2dc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Mon, 19 Jun 2017 19:05:30 +0900 Subject: [PATCH] xfree86: Fix printing of PCI domain/bus in xf86MatchPciInstances MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It was attempting to use the @ format accepted by the BusID stanza, but the two values were swapped. Reviewed-by: Alex Deucher Signed-off-by: Michel Dänzer --- hw/xfree86/common/xf86pciBus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }