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