summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2005-02-13 23:07:30 +0000
committerobrien <obrien@FreeBSD.org>2005-02-13 23:07:30 +0000
commit55d920055d2bedc63ec21c5bd71bc059bca340b6 (patch)
treebf10f2a34cc76193b69ec104ce077fce57a20fb2
parent1541af42f12f8570fb332516efee8f1e030c3e46 (diff)
downloadFreeBSD-src-55d920055d2bedc63ec21c5bd71bc059bca340b6.zip
FreeBSD-src-55d920055d2bedc63ec21c5bd71bc059bca340b6.tar.gz
Fix regression in output with -R compared to previous version.
PR: 77466 Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com>
-rw-r--r--gnu/usr.bin/grep/grep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/grep/grep.c b/gnu/usr.bin/grep/grep.c
index e1f4e41..aa1fac6 100644
--- a/gnu/usr.bin/grep/grep.c
+++ b/gnu/usr.bin/grep/grep.c
@@ -1104,7 +1104,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;
}
OpenPOWER on IntegriCloud