diff --git a/src/util/virstoragefile.c b/src/util/virstoragefile.c index ba001432354499ebff252e3b07a7a938c9349a90..78a7a9f8b935c5bfb77fcc8b6f3defb8e731fb51 100644 --- a/src/util/virstoragefile.c +++ b/src/util/virstoragefile.c @@ -2172,7 +2172,7 @@ virStorageSourceParseBackingURI(virStorageSourcePtr src, if (!(tmp = strchr(src->path, '/')) || tmp == src->path) { - virReportError(VIR_ERR_XML_ERROR, + virReportError(VIR_ERR_CONFIG_UNSUPPORTED, _("missing volume name or file name in " "gluster source path '%s'"), src->path); goto cleanup;