[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] maint: don't emit an extra newline in each of two diagnostics
From: |
Jim Meyering |
Subject: |
[PATCH] maint: don't emit an extra newline in each of two diagnostics |
Date: |
Tue, 25 May 2010 17:53:22 +0200 |
I'll push this shortly.
>From 30d563680ed8d6b587ad8ce936e89a810e09bcc5 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Tue, 25 May 2010 17:50:04 +0200
Subject: [PATCH] maint: don't emit an extra newline in each of two diagnostics
* src/main.c (context_length_arg, grepdir): Remove a stray \n in
each of two diagnostics.
---
src/main.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main.c b/src/main.c
index 4c7c0e3..20168bb 100644
--- a/src/main.c
+++ b/src/main.c
@@ -408,7 +408,7 @@ context_length_arg (char const *str, int *out)
&& 0 <= (*out = value)
&& *out == value))
{
- error (EXIT_TROUBLE, 0, "%s: %s\n", str,
+ error (EXIT_TROUBLE, 0, "%s: %s", str,
_("invalid context length argument"));
}
}
@@ -1321,7 +1321,7 @@ grepdir (char const *dir, struct stats const *stats)
&& ancestor->stat.st_dev == stats->stat.st_dev)
{
if (!suppress_errors)
- error (0, 0, _("warning: %s: %s\n"), dir,
+ error (0, 0, _("warning: %s: %s"), dir,
_("recursive directory loop"));
return 1;
}
--
1.7.1.342.g1c280
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] maint: don't emit an extra newline in each of two diagnostics,
Jim Meyering <=