[PATCH 22/27] vbox: Move error messages onto a single line

Michal Privoznik mprivozn at redhat.com
Fri Aug 25 07:40:19 UTC 2023


Error messages are exempt from the 80 columns rule. Move them
onto one line.

Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
---
 src/vbox/vbox_snapshot_conf.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/vbox/vbox_snapshot_conf.c b/src/vbox/vbox_snapshot_conf.c
index 6dbd18d657..84f7aceac2 100644
--- a/src/vbox/vbox_snapshot_conf.c
+++ b/src/vbox/vbox_snapshot_conf.c
@@ -736,8 +736,7 @@ virVBoxSnapshotConfAddSnapshotToXmlMachine(virVBoxSnapshotConfSnapshot *snapshot
     if (snapshotParentName == NULL) {
         if (machine->snapshot != NULL) {
             virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
-                           _("Unable to add this snapshot, there is already a snapshot "
-                             "linked to the machine"));
+                           _("Unable to add this snapshot, there is already a snapshot linked to the machine"));
             return -1;
         }
         machine->snapshot = snapshot;
@@ -840,8 +839,7 @@ virVBoxSnapshotConfRemoveSnapshot(virVBoxSnapshotConfMachine *machine,
     }
     if (snapshot->nchildren > 0) {
         virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
-                       _("This snapshot has children, "
-                         "please delete these snapshots before"));
+                       _("This snapshot has children, please delete these snapshots before"));
         return -1;
     }
 
-- 
2.41.0



More information about the libvir-list mailing list