]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virStorageSourceChainLookup: Don't break error message strings
authorPeter Krempa <pkrempa@redhat.com>
Mon, 25 Jan 2021 13:54:57 +0000 (14:54 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 27 Jan 2021 06:49:57 +0000 (07:49 +0100)
Put them on one line for greppability.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/storage_file/storage_source.c

index 51f97b13ef326e92983b98e5be50bcab7da1ddad..52edb91112c9cad867fd6d283a2d70240997b925 100644 (file)
@@ -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'"),