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