提交 4471f770 编写于 作者: P Peter Krempa

util: storage: Rename '@path' argument of virStorageSourceParseBackingURI

The name is misleading. Change it to 'uristr' so that 'path' can be
reused in the proper context later.
Signed-off-by: NPeter Krempa <pkrempa@redhat.com>
上级 35966308
......@@ -2576,16 +2576,16 @@ virStorageSourceNewFromBackingRelative(virStorageSourcePtr parent,
static int
virStorageSourceParseBackingURI(virStorageSourcePtr src,
const char *path)
const char *uristr)
{
virURIPtr uri = NULL;
char **scheme = NULL;
int ret = -1;
if (!(uri = virURIParse(path))) {
if (!(uri = virURIParse(uristr))) {
virReportError(VIR_ERR_INTERNAL_ERROR,
_("failed to parse backing file location '%s'"),
path);
uristr);
goto cleanup;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册