mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
qemu: Use the proper string in qemuBlock...JSONSocketAddress()
Recent refactors made it so that the function may use uninitialized pointer, but it actually wanted to use a different variable and value at all. Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
dff020c91d
commit
90c27b8e48
@ -482,7 +482,7 @@ qemuBlockStorageSourceBuildHostsJSONSocketAddress(virStorageSourcePtr src,
|
|||||||
case VIR_STORAGE_NET_HOST_TRANS_LAST:
|
case VIR_STORAGE_NET_HOST_TRANS_LAST:
|
||||||
virReportError(VIR_ERR_INTERNAL_ERROR,
|
virReportError(VIR_ERR_INTERNAL_ERROR,
|
||||||
_("transport protocol '%s' is not yet supported"),
|
_("transport protocol '%s' is not yet supported"),
|
||||||
transport);
|
virStorageNetHostTransportTypeToString(host->transport));
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user