]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* util/grub-mount.c (fuse_init): Unify cryptomount and loopback messages
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Mon, 5 Mar 2012 15:39:16 +0000 (16:39 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Mon, 5 Mar 2012 15:39:16 +0000 (16:39 +0100)
with similar messages in grub-fstest.

ChangeLog
util/grub-mount.c

index f8bbce3d83cfd944e7dcecc62a0a79e17ff59f31..33fc583f60e83b6a57829643e7a143b88fadc959 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-03-05  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * util/grub-mount.c (fuse_init): Unify cryptomount and loopback messages
+       with similar messages in grub-fstest.
+
 2012-03-05  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * util/grub-install.in: Unify "option requires an argument" message
index 9093e264c33fc9a58971efa36a9e5ede49a9334c..2a5928f0dbb28021f4e736a0263852726f582e22 100644 (file)
@@ -348,7 +348,7 @@ fuse_init (void)
       argv[1] = host_file;
 
       if (execute_command ("loopback", 2, argv))
-        grub_util_error ("%s", _("loopback command fails"));
+        grub_util_error (_("`loopback' command fails: %s"), grub_errmsg);
 
       grub_free (loop_name);
       grub_free (host_file);
@@ -358,7 +358,8 @@ fuse_init (void)
     {
       char *argv[2] = { xstrdup ("-a"), NULL};
       if (execute_command ("cryptomount", 1, argv))
-       grub_util_error (_("cryptomount command fails: %s"), grub_errmsg);
+         grub_util_error (_("`cryptomount' command fails: %s"),
+                          grub_errmsg);
       free (argv[0]);
     }