[PATCH v2 1/7] qemuValidateDomainDefPCIFeature: un-break error messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://www.libvirt.org/coding-style.html#error-message-format

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 src/qemu/qemu_validate.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/qemu/qemu_validate.c b/src/qemu/qemu_validate.c
index be609c9d39..e530368cb3 100644
--- a/src/qemu/qemu_validate.c
+++ b/src/qemu/qemu_validate.c
@@ -194,8 +194,7 @@ qemuValidateDomainDefPCIFeature(const virDomainDef *def,
             case VIR_DOMAIN_PCI_ACPI_BRIDGE_HOTPLUG:
                 if (!ARCH_IS_X86(def->os.arch)) {
                     virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
-                                   _("acpi-bridge-hotplug is not available "
-                                   "for architecture '%s'"),
+                                   _("acpi-bridge-hotplug is not available for architecture '%s'"),
                                    virArchToString(def->os.arch));
                     return -1;
                 }
@@ -203,8 +202,7 @@ qemuValidateDomainDefPCIFeature(const virDomainDef *def,
                     !virQEMUCapsGet(qemuCaps,
                                     QEMU_CAPS_PIIX4_ACPI_HOTPLUG_BRIDGE)) {
                     virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
-                                   _("acpi-bridge-hotplug is not available "
-                                   "with this QEMU binary"));
+                                   _("acpi-bridge-hotplug is not available with this QEMU binary"));
                     return -1;
                 }
                 break;
-- 
2.31.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux