]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemuValidateDomainDefPCIFeature: un-break error messages
authorPeter Krempa <pkrempa@redhat.com>
Mon, 11 Oct 2021 12:11:06 +0000 (14:11 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 12 Oct 2021 07:41:22 +0000 (09:41 +0200)
https://www.libvirt.org/coding-style.html#error-message-format

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_validate.c

index be609c9d39bc636634cd19669c6b2c44225316d2..e530368cb33f92484d8bb36d201f64204d7ee958 100644 (file)
@@ -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;