mirror of
https://src.fedoraproject.org/rpms/grub2.git
synced 2024-11-24 22:35:28 +00:00
39 lines
1.2 KiB
Diff
39 lines
1.2 KiB
Diff
From 0b5d3a484eb1e0f2289065366f329b25906dfbbf Mon Sep 17 00:00:00 2001
|
|
From: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
|
|
Date: Sun, 20 Jan 2013 22:05:55 +0100
|
|
Subject: [PATCH 117/364] * 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 3ac8171..8eab442 100644
|
|
--- a/ChangeLog
|
|
+++ b/ChangeLog
|
|
@@ -1,3 +1,7 @@
|
|
+2013-01-20 Vladimir Serbinenko <phcoder@gmail.com>
|
|
+
|
|
+ * util/grub-script-check.c (main): Uniform the error message.
|
|
+
|
|
2013-01-20 Colin Watson <cjwatson@ubuntu.com>
|
|
|
|
Remove nested functions from ELF iterators.
|
|
diff --git a/util/grub-script-check.c b/util/grub-script-check.c
|
|
index 203a3ff..48c772a 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);
|
|
--
|
|
1.8.1.4
|
|
|