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(a)redhat.com>
---
src/util/virstoragefile.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/util/virstoragefile.c b/src/util/virstoragefile.c
index b2169b618d..eba82918c1 100644
--- a/src/util/virstoragefile.c
+++ b/src/util/virstoragefile.c
@@ -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;
}
--
2.17.1