coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

oops: unmarked diagnostic


From: Jim Meyering
Subject: oops: unmarked diagnostic
Date: Tue, 05 Jun 2012 22:40:38 +0200

I noticed this a minute too late.

>From b9f84267338ad8f1a88f235f9e32b236cc82b864 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Tue, 5 Jun 2012 22:38:26 +0200
Subject: [PATCH] maint: mark new diagnostic for translation

* src/head.c (elide_tail_lines_seekable): Mark new diagnostic.
I will look at the results of "make syntax-check", I will look...
---
 src/head.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/head.c b/src/head.c
index 0d5e1b2..c13c064 100644
--- a/src/head.c
+++ b/src/head.c
@@ -671,7 +671,7 @@ elide_tail_lines_seekable (const char *pretty_filename, int 
fd,
               /* Set file pointer to the byte after what we've output.  */
               if (lseek (fd, pos + n + 1, SEEK_SET) < 0)
                 {
-                  error (0, errno, "%s: failed to reset file pointer",
+                  error (0, errno, _("%s: failed to reset file pointer"),
                          quote (pretty_filename));
                   return false;
                 }
--
1.7.11.rc1



reply via email to

[Prev in Thread] Current Thread [Next in Thread]