]> xenbits.xensource.com Git - libvirt.git/commitdiff
ch: 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:35 +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/ch/ch_driver.c
src/ch/ch_monitor.c

index 45cdbfd37c102c31683bc579951fffe77b1f7fae..b62645a8c87ca53bd5677be6dfe161e7eaff4aca 100644 (file)
@@ -1379,8 +1379,7 @@ chDomainPinEmulator(virDomainPtr dom,
 
             if (virDomainCgroupSetupCpusetCpus(cgroup_emulator, pcpumap) < 0) {
                 virReportError(VIR_ERR_OPERATION_INVALID, "%s",
-                               _("failed to set cpuset.cpus in cgroup"
-                                 " for emulator threads"));
+                               _("failed to set cpuset.cpus in cgroup for emulator threads"));
                 goto endjob;
             }
         }
index a4b921931b567704703cc81437da6825abcffcf8..4f32b1ee4c1d7edb97ba6fe2653aa3911e19e0c1 100644 (file)
@@ -637,8 +637,7 @@ virCHMonitorCurlPerform(CURL *handle)
 
     if (responseCode < 0) {
         virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
-                       _("curl_easy_getinfo(CURLINFO_RESPONSE_CODE) returned a "
-                         "negative response code"));
+                       _("curl_easy_getinfo(CURLINFO_RESPONSE_CODE) returned a negative response code"));
         return -1;
     }