mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
libvirt: fix error message when connection can't be opened
VIR_ERR_NO_CONNECT already contains "no connection driver available". This patch changes: no connection driver available for No connection for URI hello to: no connection driver available for hello Bug: https://bugzilla.redhat.com/show_bug.cgi?id=851413
This commit is contained in:
parent
45dc3f1703
commit
633d859b73
@ -1216,7 +1216,7 @@ do_open(const char *name,
|
||||
if (!ret->driver) {
|
||||
/* If we reach here, then all drivers declined the connection. */
|
||||
virLibConnError(VIR_ERR_NO_CONNECT,
|
||||
_("No connection for URI %s"),
|
||||
"%s",
|
||||
NULLSTR(name));
|
||||
goto failed;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user