提交 4ff19ced 编写于 作者: C Cole Robinson

qemuDomainLookupByUUID: print correct UUID string on failed lookup.

Currently we print the raw UUID which isn't very useful in ascii format.
上级 58c73c17
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
......
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册