* util/grub-mount.c (fuse_init): Unify cryptomount and loopback messages

with similar messages in grub-fstest.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-03-05 16:39:16 +01:00
parent d95862ef75
commit 0fc19bd089
2 changed files with 8 additions and 2 deletions

View file

@ -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> 2012-03-05 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-install.in: Unify "option requires an argument" message * util/grub-install.in: Unify "option requires an argument" message

View file

@ -348,7 +348,7 @@ fuse_init (void)
argv[1] = host_file; argv[1] = host_file;
if (execute_command ("loopback", 2, argv)) 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 (loop_name);
grub_free (host_file); grub_free (host_file);
@ -358,7 +358,8 @@ fuse_init (void)
{ {
char *argv[2] = { xstrdup ("-a"), NULL}; char *argv[2] = { xstrdup ("-a"), NULL};
if (execute_command ("cryptomount", 1, argv)) 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]); free (argv[0]);
} }