From: Peter Krempa Date: Thu, 11 Oct 2018 10:18:39 +0000 (+0200) Subject: util: storage: Rename '@path' argument of virStorageSourceParseBackingURI X-Git-Tag: v4.9.0-rc1~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4471f7704c5425831a2933ae379bd87242961fb0;p=thirdparty%2Flibvirt.git 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 --- 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; }