From: Peter Krempa Date: Mon, 11 Oct 2021 12:11:06 +0000 (+0200) Subject: qemuValidateDomainDefPCIFeature: un-break error messages X-Git-Tag: v7.9.0-rc1~238 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d074c56830c5d435f87667299cc102650dbbb4f;p=thirdparty%2Flibvirt.git qemuValidateDomainDefPCIFeature: un-break error messages https://www.libvirt.org/coding-style.html#error-message-format Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- 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;