From: Cole Robinson Date: Fri, 29 May 2009 14:01:55 +0000 (+0000) Subject: qemuDomainLookupByUUID: print correct UUID string on failed lookup. X-Git-Tag: LIBVIRT_0_6_4~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ff19ced3ab07f0c9276cdc2be8ae4f2767a838d;p=thirdparty%2Flibvirt.git qemuDomainLookupByUUID: print correct UUID string on failed lookup. Currently we print the raw UUID which isn't very useful in ascii format. --- diff --git a/ChangeLog b/ChangeLog index ddc91bf3b2..fef723cd8f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri May 29 10:01:19 EDT 2009 Cole Robinson + + * src/qemu_driver.c : qemuDomainLookupByUUID: print correct UUID + string on failed lookup. + Fri May 29 10:00:01 EDT 2009 Cole Robinson * src/virsh.c : virsh: Use consistent spacing for net-list diff --git a/src/qemu_driver.c b/src/qemu_driver.c index 40f5790420..9bd7d03284 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; }