aboutsummaryrefslogtreecommitdiff
path: root/grep.c
diff options
context:
space:
mode:
Diffstat (limited to 'grep.c')
-rw-r--r--grep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/grep.c b/grep.c
index c0193bce3..9014443b1 100644
--- a/grep.c
+++ b/grep.c
@@ -169,7 +169,7 @@ extern int grep_main(int argc, char **argv)
169 file = fopen(cur_file, "r"); 169 file = fopen(cur_file, "r");
170 if (file == NULL) { 170 if (file == NULL) {
171 if (!suppress_err_msgs) 171 if (!suppress_err_msgs)
172 errorMsg("%s: %s\n", cur_file, strerror(errno)); 172 error_msg("%s: %s\n", cur_file, strerror(errno));
173 } 173 }
174 else { 174 else {
175 grep_file(file); 175 grep_file(file);