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: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
Peter Krempa 2018-10-11 12:18:39 +02:00
parent 35966308b5
commit 4471f7704c
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}