aboutsummaryrefslogtreecommitdiff
path: root/findutils/grep.c
diff options
context:
space:
mode:
Diffstat (limited to 'findutils/grep.c')
-rw-r--r--findutils/grep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/findutils/grep.c b/findutils/grep.c
index 3a9c74073..2d886a025 100644
--- a/findutils/grep.c
+++ b/findutils/grep.c
@@ -369,7 +369,7 @@ static int file_action_grep(const char *filename, struct stat *statbuf, void* ma
369 FILE *file = fopen(filename, "r"); 369 FILE *file = fopen(filename, "r");
370 if (file == NULL) { 370 if (file == NULL) {
371 if (!SUPPRESS_ERR_MSGS) 371 if (!SUPPRESS_ERR_MSGS)
372 bb_perror_msg("%s", cur_file); 372 bb_simple_perror_msg(cur_file);
373 open_errors = 1; 373 open_errors = 1;
374 return 0; 374 return 0;
375 } 375 }
@@ -517,7 +517,7 @@ int grep_main(int argc, char **argv)
517 file = fopen(cur_file, "r"); 517 file = fopen(cur_file, "r");
518 if (file == NULL) { 518 if (file == NULL) {
519 if (!SUPPRESS_ERR_MSGS) 519 if (!SUPPRESS_ERR_MSGS)
520 bb_perror_msg("%s", cur_file); 520 bb_simple_perror_msg(cur_file);
521 open_errors = 1; 521 open_errors = 1;
522 continue; 522 continue;
523 } 523 }