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

Re: [libvirt] [PATCH] qemuDomainLookupByUUID: print correct UUID string on failed lookup.



On Thu, May 28, 2009 at 01:16:22PM -0400, Cole Robinson wrote:
> Currently we print the raw UUID which isn't very useful in ascii format.
> 
> Signed-off-by: Cole Robinson <crobinso redhat com>
> ---
>  src/qemu_driver.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/src/qemu_driver.c b/src/qemu_driver.c
> index 40f5790..9bd7d03 100644
> --- a/src/qemu_driver.c
> +++ b/src/qemu_driver.c
> @@ -2043,7 +2043,7 @@ static virDomainPtr qemudDomainLookupByUUID(virConnectPtr conn,
>          char uuidstr[VIR_UUID_STRING_BUFLEN];
>          virUUIDFormat(uuid, uuidstr);
>          qemudReportError(conn, NULL, NULL, VIR_ERR_NO_DOMAIN,
> -                         _("no domain with matching uuid '%s'"), uuid);
> +                         _("no domain with matching uuid '%s'"), uuidstr);
>          goto cleanup;
>      }

ACK


Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|


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