* util/grub-mount.c (fuse_init): Unify cryptomount and loopback messages
with similar messages in grub-fstest.
This commit is contained in:
parent
d95862ef75
commit
0fc19bd089
2 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue