From: Chris Lalancette Date: Fri, 19 Feb 2010 15:04:35 +0000 (+0100) Subject: Make an error message in PCI util code clearer X-Git-Tag: v0.7.7~118 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee38d7e0898cdd1abd74dd562ecb63943fdcbfc4;p=thirdparty%2Flibvirt.git Make an error message in PCI util code clearer * src/util/pci.c: update 2 message on pciRead errors --- diff --git a/src/util/pci.c b/src/util/pci.c index 44eb439fe1..b812241af8 100644 --- a/src/util/pci.c +++ b/src/util/pci.c @@ -539,7 +539,7 @@ pciTrySecondaryBusReset(pciDevice *dev, */ if (pciRead(dev, 0, config_space, PCI_CONF_LEN) < 0) { pciReportError(VIR_ERR_NO_SUPPORT, - _("Failed to save PCI config space for %s"), + _("Failed to read PCI config space for %s"), dev->name); goto out; } @@ -585,7 +585,7 @@ pciTryPowerManagementReset(pciDevice *dev) /* Save and restore the device's config space. */ if (pciRead(dev, 0, &config_space[0], PCI_CONF_LEN) < 0) { pciReportError(VIR_ERR_NO_SUPPORT, - _("Failed to save PCI config space for %s"), + _("Failed to read PCI config space for %s"), dev->name); return -1; }