[libvirt] [PATCH 2/3] util: storage: Add hint to error message that indexed access was used

Peter Krempa pkrempa at redhat.com
Tue Apr 21 15:52:13 UTC 2015


---
 src/util/virstoragefile.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/util/virstoragefile.c b/src/util/virstoragefile.c
index 46aff92..c9d3977 100644
--- a/src/util/virstoragefile.c
+++ b/src/util/virstoragefile.c
@@ -1390,7 +1390,8 @@ virStorageFileChainLookup(virStorageSourcePtr chain,
  error:
     if (idx) {
         virReportError(VIR_ERR_INVALID_ARG,
-                       _("could not find backing store %u in chain for '%s'"),
+                       _("could not find backing store index %u in chain "
+                         "for '%s'"),
                        idx, NULLSTR(start));
     } else if (name) {
         if (startFrom)
-- 
2.3.5




More information about the libvir-list mailing list