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