summaryrefslogtreecommitdiff
path: root/src/grep.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@fb.com>2020-09-17 13:08:34 -0700
committerJim Meyering <meyering@fb.com>2020-09-17 13:08:34 -0700
commit4b3f435b62107d35167f055bb4bad120159703d7 (patch)
tree8c956a13b8fa756a53ffa20d707c6d90daa0ff61 /src/grep.c
parent271793f09cc604ad54ad89b18110716555cc748b (diff)
downloadgrep-4b3f435b62107d35167f055bb4bad120159703d7.tar.gz
maint: avoid syntax-check failure
* src/grep.c (grep): Lower-case the "B" in "Binary file... matches" diagnostic that we now emit to stderr. This avoids the following when running "make syntax-check": maint.mk: found capitalized error message make: *** [maint.mk:469: sc_error_message_uppercase] Error 1
Diffstat (limited to 'src/grep.c')
-rw-r--r--src/grep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/grep.c b/src/grep.c
index 0a0c71f9..614f2038 100644
--- a/src/grep.c
+++ b/src/grep.c
@@ -1644,7 +1644,7 @@ grep (int fd, struct stat const *st, bool *ineof)
if (binary_files == BINARY_BINARY_FILES && ! (out_quiet | suppress_errors)
&& (encoding_error_output
|| (0 <= nlines_first_null && nlines_first_null < nlines)))
- error (0, 0, _("Binary file %s matches"), quote (input_filename ()));
+ error (0, 0, _("binary file %s matches"), quote (input_filename ()));
return nlines;
}