diff --git a/src/util/virstoragefile.c b/src/util/virstoragefile.c index bb827e26eba50bd2aee81128932504e63f45d905..26b7fe1187b4ec960e97ff29f44a31cf767e8baa 100644 --- a/src/util/virstoragefile.c +++ b/src/util/virstoragefile.c @@ -2626,7 +2626,7 @@ virStorageSourceNewFromBackingRelative(virStorageSourcePtr parent, return NULL; /* store relative name */ - if (VIR_STRDUP(def->relPath, parent->backingStoreRaw) < 0) + if (VIR_STRDUP(def->relPath, rel) < 0) return NULL; if (!(dirname = mdir_name(parent->path))) {