]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemuDomainLookupByUUID: print correct UUID string on failed lookup.
authorCole Robinson <crobinso@redhat.com>
Fri, 29 May 2009 14:01:55 +0000 (14:01 +0000)
committerCole Robinson <crobinso@redhat.com>
Fri, 29 May 2009 14:01:55 +0000 (14:01 +0000)
Currently we print the raw UUID which isn't very useful in ascii format.

ChangeLog
src/qemu_driver.c

index ddc91bf3b245fe28d687d6e5bc1efa74197b3b13..fef723cd8f0d6140f349a5904ec25b1ae046e248 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri May 29 10:01:19 EDT 2009 Cole Robinson <crobinso@redhat.com>
+
+       * src/qemu_driver.c : qemuDomainLookupByUUID: print correct UUID
+       string on failed lookup.
+
 Fri May 29 10:00:01 EDT 2009 Cole Robinson <crobinso@redhat.com>
 
        * src/virsh.c : virsh: Use consistent spacing for net-list
index 40f5790420074fe04022c99fbb1a66e573c134ef..9bd7d03284b2107f0276157a63b91c554f8395b7 100644 (file)
@@ -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;
     }