mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
libvirt: correctly print out URI returned from probing
Turning a NULL URI instead the empty string is very misleading when reading the debug logs as the distinction between the two is functionally important. Reviewed-by: Andrea Bolognani <abologna@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
019911339b
commit
532c04e297
@ -886,7 +886,7 @@ virConnectOpenInternal(const char *name,
|
|||||||
goto failed;
|
goto failed;
|
||||||
VIR_DEBUG("%s driver URI probe returned '%s'",
|
VIR_DEBUG("%s driver URI probe returned '%s'",
|
||||||
virConnectDriverTab[i]->hypervisorDriver->name,
|
virConnectDriverTab[i]->hypervisorDriver->name,
|
||||||
NULLSTR_EMPTY(uristr));
|
NULLSTR(uristr));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user