From: Michal Privoznik Date: Thu, 24 Aug 2023 15:03:59 +0000 (+0200) Subject: vmware: Move error messages onto a single line X-Git-Tag: v9.8.0-rc1~243 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e47d4a6570fbf1e33ce0a21c86a3a5f06499e5e;p=thirdparty%2Flibvirt.git vmware: 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 --- diff --git a/src/vmware/vmware_conf.c b/src/vmware/vmware_conf.c index ba4e4d28dc..a598b512dc 100644 --- a/src/vmware/vmware_conf.c +++ b/src/vmware/vmware_conf.c @@ -355,8 +355,7 @@ vmwareVmxPath(virDomainDef *vmdef, char **vmxPath) */ if (vmdef->ndisks < 1) { virReportError(VIR_ERR_INTERNAL_ERROR, "%s", - _("Domain XML doesn't contain any disks, " - "cannot deduce datastore and path for VMX file")); + _("Domain XML doesn't contain any disks, cannot deduce datastore and path for VMX file")); return -1; } @@ -370,16 +369,14 @@ vmwareVmxPath(virDomainDef *vmdef, char **vmxPath) if (disk == NULL) { virReportError(VIR_ERR_INTERNAL_ERROR, "%s", - _("Domain XML doesn't contain any file-based harddisks, " - "cannot deduce datastore and path for VMX file")); + _("Domain XML doesn't contain any file-based harddisks, cannot deduce datastore and path for VMX file")); return -1; } src = virDomainDiskGetSource(disk); if (!src) { virReportError(VIR_ERR_INTERNAL_ERROR, "%s", - _("First file-based harddisk has no source, cannot " - "deduce datastore and path for VMX file")); + _("First file-based harddisk has no source, cannot deduce datastore and path for VMX file")); return -1; } diff --git a/src/vmware/vmware_driver.c b/src/vmware/vmware_driver.c index 259d00cacd..416ce126e8 100644 --- a/src/vmware/vmware_driver.c +++ b/src/vmware/vmware_driver.c @@ -509,8 +509,7 @@ vmwareDomainSuspend(virDomainPtr dom) if (driver->type == VMWARE_DRIVER_PLAYER) { virReportError(VIR_ERR_INTERNAL_ERROR, "%s", - _("vmplayer does not support libvirt suspend/resume" - " (vmware pause/unpause) operation ")); + _("vmplayer does not support libvirt suspend/resume (vmware pause/unpause) operation ")); return ret; } @@ -549,8 +548,7 @@ vmwareDomainResume(virDomainPtr dom) if (driver->type == VMWARE_DRIVER_PLAYER) { virReportError(VIR_ERR_INTERNAL_ERROR, "%s", - _("vmplayer does not support libvirt suspend/resume " - "(vmware pause/unpause) operation ")); + _("vmplayer does not support libvirt suspend/resume (vmware pause/unpause) operation ")); return ret; }