mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-28 03:21:19 +00:00
fix error in printf format string
Use %s to print NULLSTR(duri). Reported-by: Peng Liang <liangpeng10@huawei.com> Signed-off-by: Zhenyu Ye <yezhenyu2@huawei.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
eb55e8a897
commit
94ac9d55fd
@ -4215,7 +4215,7 @@ virDomainMigrateToURI(virDomainPtr domain,
|
|||||||
const char *dconnuri = NULL;
|
const char *dconnuri = NULL;
|
||||||
const char *miguri = NULL;
|
const char *miguri = NULL;
|
||||||
|
|
||||||
VIR_DOMAIN_DEBUG(domain, "duri=%p, flags=0x%lx, dname=%s, bandwidth=%lu",
|
VIR_DOMAIN_DEBUG(domain, "duri=%s, flags=0x%lx, dname=%s, bandwidth=%lu",
|
||||||
NULLSTR(duri), flags, NULLSTR(dname), bandwidth);
|
NULLSTR(duri), flags, NULLSTR(dname), bandwidth);
|
||||||
|
|
||||||
virResetLastError();
|
virResetLastError();
|
||||||
|
Loading…
Reference in New Issue
Block a user