[PATCH 08/12] virStorageSourceChainLookup: Don't break error message strings

Peter Krempa pkrempa at redhat.com
Mon Jan 25 16:05:20 UTC 2021


Put them on one line for greppability.

Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 src/storage_file/storage_source.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/storage_file/storage_source.c b/src/storage_file/storage_source.c
index 51f97b13ef..52edb91112 100644
--- a/src/storage_file/storage_source.c
+++ b/src/storage_file/storage_source.c
@@ -276,15 +276,13 @@ virStorageSourceChainLookup(virStorageSourcePtr chain,
  error:
     if (idx) {
         virReportError(VIR_ERR_INVALID_ARG,
-                       _("could not find backing store index %u in chain "
-                         "for '%s'"),
+                       _("could not find backing store index '%u' in chain for '%s'"),
                        idx, NULLSTR(start));
     } else if (name) {
         if (startFrom)
             virReportError(VIR_ERR_INVALID_ARG,
-                           _("could not find image '%s' beneath '%s' in "
-                             "chain for '%s'"), name, NULLSTR(startFrom->path),
-                           NULLSTR(start));
+                           _("could not find image '%s' beneath '%s' in chain for '%s'"),
+                           name, NULLSTR(startFrom->path), NULLSTR(start));
         else
             virReportError(VIR_ERR_INVALID_ARG,
                            _("could not find image '%s' in chain for '%s'"),
-- 
2.29.2




More information about the libvir-list mailing list