mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-23 03:42:19 +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 (!ret->driver) {
|
||||||
/* If we reach here, then all drivers declined the connection. */
|
/* If we reach here, then all drivers declined the connection. */
|
||||||
virLibConnError(VIR_ERR_NO_CONNECT,
|
virLibConnError(VIR_ERR_NO_CONNECT,
|
||||||
_("No connection for URI %s"),
|
"%s",
|
||||||
NULLSTR(name));
|
NULLSTR(name));
|
||||||
goto failed;
|
goto failed;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user