qemu: error message should show uri instead of (null)

Fix pointer for error message uri if domain migration fails.

BZ# 730244
This commit is contained in:
Peter Krempa 2011-08-15 14:58:47 +02:00 committed by Jiri Denemark
parent 3261761794
commit d17101e011

View File

@ -2104,7 +2104,7 @@ static int doPeer2PeerMigrate(struct qemud_driver *driver,
qemuDomainObjExitRemoteWithDriver(driver, vm);
if (dconn == NULL) {
qemuReportError(VIR_ERR_OPERATION_FAILED,
_("Failed to connect to remote libvirt URI %s"), uri);
_("Failed to connect to remote libvirt URI %s"), dconnuri);
return -1;
}