diff options
author | Jim Meyering <meyering@fb.com> | 2020-09-17 13:08:34 -0700 |
---|---|---|
committer | Jim Meyering <meyering@fb.com> | 2020-09-17 13:08:34 -0700 |
commit | 4b3f435b62107d35167f055bb4bad120159703d7 (patch) | |
tree | 8c956a13b8fa756a53ffa20d707c6d90daa0ff61 /src/grep.c | |
parent | 271793f09cc604ad54ad89b18110716555cc748b (diff) | |
download | grep-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |