mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-31 08:55:22 +00:00
vbox: 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 <mprivozn@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
c34d9cb9ce
commit
b7c3bb0a84
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user