]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
cpu: Move error messages onto a single line
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 24 Aug 2023 15:03:58 +0000 (17:03 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 4 Sep 2023 07:35:36 +0000 (09:35 +0200)
Error messages are exempt from the 80 columns rule. Move them
onto one line.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/cpu/cpu_x86.c

index b9513e24d543cbdf14a3b172d7cbbf20572f9506..7a7f3b409dd85f1af4208b9d42d7756ec6ba75a9 100644 (file)
@@ -1899,8 +1899,7 @@ x86Compute(virCPUDef *host,
     result = x86ModelCompare(host_model, cpu_require);
     if (result == SUBSET || result == UNRELATED) {
         x86DataSubtract(&cpu_require->data, &host_model->data);
-        virX86CpuIncompatible(N_("Host CPU does not provide required "
-                                 "features"),
+        virX86CpuIncompatible(N_("Host CPU does not provide required features"),
                               &cpu_require->data);
         return VIR_CPU_COMPARE_INCOMPATIBLE;
     }
@@ -1919,8 +1918,7 @@ x86Compute(virCPUDef *host,
     if (ret == VIR_CPU_COMPARE_SUPERSET
         && cpu->type == VIR_CPU_TYPE_GUEST
         && cpu->match == VIR_CPU_MATCH_STRICT) {
-        virX86CpuIncompatible(N_("Host CPU does not strictly match guest CPU: "
-                                 "Extra features"),
+        virX86CpuIncompatible(N_("Host CPU does not strictly match guest CPU: Extra features"),
                               &diff->data);
         return VIR_CPU_COMPARE_INCOMPATIBLE;
     }