From 08dad2dcf911e7b5fb6d3491642301ba77198352 Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Sun, 20 Jan 2013 22:05:55 +0100 Subject: [PATCH] * util/grub-script-check.c (main): Uniform the error message. --- ChangeLog | 4 ++++ util/grub-script-check.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3ac8171bc..8eab44224 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-01-20 Vladimir Serbinenko + + * util/grub-script-check.c (main): Uniform the error message. + 2013-01-20 Colin Watson Remove nested functions from ELF iterators. diff --git a/util/grub-script-check.c b/util/grub-script-check.c index 203a3ffde..48c772a07 100644 --- a/util/grub-script-check.c +++ b/util/grub-script-check.c @@ -169,7 +169,7 @@ main (int argc, char *argv[]) if (! ctx.file) { char *program = xstrdup(program_name); - fprintf (stderr, "%s: %s: %s\n", program_name, + fprintf (stderr, _("cannot open `%s': %s"), ctx.arguments.filename, strerror (errno)); argp_help (&argp, stderr, ARGP_HELP_STD_USAGE, program); free(program);