X-Git-Url: https://gitweb.dragonflybsd.org/~tuxillo/dragonfly.git/blobdiff_plain/dc7c36e42d07cfd62c8aa566489e061f2ff94edc..6ae79864975bffb44d3383ca417cf76973110510:/contrib/grep/src/grep.c diff --git a/contrib/grep/src/grep.c b/contrib/grep/src/grep.c index 2c5e09a961..cc4c0cc3c3 100644 --- a/contrib/grep/src/grep.c +++ b/contrib/grep/src/grep.c @@ -55,7 +55,7 @@ #define AUTHORS \ proper_name ("Mike Haertel"), \ - _("others, see ") + _("others, see\n") /* When stdout is connected to a regular file, save its stat information here, so that we can automatically skip it, thus @@ -1341,7 +1341,8 @@ grep (int fd, struct stat const *st) if (! fillbuf (save, st)) { - suppressible_error (filename, errno); + if (errno != EINVAL) + suppressible_error (filename, errno); return 0; }