mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-02 01:45:17 +00:00
qemuBuildDeviceAddressPCIStr: Make error messages easier to find
Per coding guidelines error messages [1] should not be broken into lines and variables should be separated by apostrophes. [1] https://libvirt.org/coding-style.html#error-message-format Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
79f872a8d1
commit
2fbda628c6
@ -345,9 +345,7 @@ qemuBuildDeviceAddressPCIStr(virBuffer *buf,
|
|||||||
|
|
||||||
if (!contAlias) {
|
if (!contAlias) {
|
||||||
virReportError(VIR_ERR_INTERNAL_ERROR,
|
virReportError(VIR_ERR_INTERNAL_ERROR,
|
||||||
_("Device alias was not set for PCI "
|
_("Device alias was not set for PCI controller with index '%u' required for device at address '%s'"),
|
||||||
"controller with index %u required "
|
|
||||||
"for device at address %s"),
|
|
||||||
info->addr.pci.bus, devStr);
|
info->addr.pci.bus, devStr);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
@ -372,9 +370,7 @@ qemuBuildDeviceAddressPCIStr(virBuffer *buf,
|
|||||||
|
|
||||||
if (!contAlias) {
|
if (!contAlias) {
|
||||||
virReportError(VIR_ERR_INTERNAL_ERROR,
|
virReportError(VIR_ERR_INTERNAL_ERROR,
|
||||||
_("Could not find PCI "
|
_("Could not find PCI controller with index '%u' required for device at address '%s'"),
|
||||||
"controller with index %u required "
|
|
||||||
"for device at address %s"),
|
|
||||||
info->addr.pci.bus, devStr);
|
info->addr.pci.bus, devStr);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user