diff options
author | Jim Meyering <meyering@redhat.com> | 2010-05-25 17:50:04 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-05-26 07:27:48 +0200 |
commit | 26818d74472e0d727c33f7a8346b48f372e76acf (patch) | |
tree | bc00b3575862568daa54f2595c6512ac0271ca41 /src | |
parent | 80eab7f9725cce44f147e1332ee8d63a8628e17f (diff) | |
download | grep-26818d74472e0d727c33f7a8346b48f372e76acf.tar.gz |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |