]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
vbox: Move error messages onto a single line
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 24 Aug 2023 15:03:59 +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/vbox/vbox_snapshot_conf.c

index 6dbd18d6579a5933a8b99652251ec653280d7311..84f7aceac21ef6257717af1d36aa73706f5da740 100644 (file)
@@ -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;
     }