From bfa322d6ce274eab84aa6cbee85c87fe3d0837a3 Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Thu, 24 Aug 2023 17:03:58 +0200 Subject: [PATCH] ch: Move error messages onto a single line Error messages are exempt from the 80 columns rule. Move them onto one line. Signed-off-by: Michal Privoznik Reviewed-by: Pavel Hrdina --- src/ch/ch_driver.c | 3 +-- src/ch/ch_monitor.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/ch/ch_driver.c b/src/ch/ch_driver.c index 45cdbfd37c..b62645a8c8 100644 --- a/src/ch/ch_driver.c +++ b/src/ch/ch_driver.c @@ -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; } } diff --git a/src/ch/ch_monitor.c b/src/ch/ch_monitor.c index a4b921931b..4f32b1ee4c 100644 --- a/src/ch/ch_monitor.c +++ b/src/ch/ch_monitor.c @@ -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; }