mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-18 10:35:20 +00: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;
|
||||
VIR_DEBUG("%s driver URI probe returned '%s'",
|
||||
virConnectDriverTab[i]->hypervisorDriver->name,
|
||||
NULLSTR_EMPTY(uristr));
|
||||
NULLSTR(uristr));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user