Re: [PATCH v3 3/4] qemu: modify 3 error messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 13, 2012 at 03:21:24PM +0200, Martin Kletzander wrote:
> After the cleanup of remote display port allocation, I noticed some
> messages that didn't make a lot of sense the way they were written. So
> I rephrased them.
> ---
>  src/qemu/qemu_process.c |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c
> index 05b2f18..654cb51 100644
> --- a/src/qemu/qemu_process.c
> +++ b/src/qemu/qemu_process.c
> @@ -3425,7 +3425,7 @@ int qemuProcessStart(virConnectPtr conn,
> 
>              if (port < 0) {
>                  virReportError(VIR_ERR_INTERNAL_ERROR,
> -                               "%s", _("Unable to find an unused VNC port"));
> +                               "%s", _("Unable to find an unused port for VNC"));
>                  goto cleanup;
>              }
>              vm->def->graphics[0]->data.vnc.port = port;
> @@ -3440,7 +3440,7 @@ int qemuProcessStart(virConnectPtr conn,
> 
>              if (port < 0) {
>                  virReportError(VIR_ERR_INTERNAL_ERROR,
> -                                "%s", _("Unable to find an unused SPICE port"));
> +                               "%s", _("Unable to find an unused port for SPICE"));
>                  goto cleanup;
>              }
>              vm->def->graphics[0]->data.spice.port = port;
> @@ -3452,7 +3452,7 @@ int qemuProcessStart(virConnectPtr conn,
>                      port = qemuProcessNextFreePort(driver, vm->def->graphics[0]->data.spice.port + 1);
>                  if (port < 0) {
>                      virReportError(VIR_ERR_INTERNAL_ERROR,
> -                                    "%s", _("Unable to find an unused SPICE TLS port"));
> +                                   "%s", _("Unable to find an unused port for SPICE TLS"));
>                      qemuProcessReturnPort(driver, port);
>                      goto cleanup;
>                  }

ACK


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]