diff --git a/ChangeLog b/ChangeLog index f8bbce3d8..33fc583f6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-03-05 Vladimir Serbinenko + + * util/grub-mount.c (fuse_init): Unify cryptomount and loopback messages + with similar messages in grub-fstest. + 2012-03-05 Vladimir Serbinenko * util/grub-install.in: Unify "option requires an argument" message diff --git a/util/grub-mount.c b/util/grub-mount.c index 9093e264c..2a5928f0d 100644 --- a/util/grub-mount.c +++ b/util/grub-mount.c @@ -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]); }