projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46ef46a
)
grep: fix wrong filename in error message
author
Denis Vlasenko
<vda.linux@googlemail.com>
Thu, 24 Jan 2008 01:30:36 +0000
(
01:30
-0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Thu, 24 Jan 2008 01:30:36 +0000
(
01:30
-0000)
findutils/grep.c
patch
|
blob
|
history
diff --git
a/findutils/grep.c
b/findutils/grep.c
index c2a6a2187df93e3848c909dbc624d6a3bdfa38c7..4c9582e8c46fa2e53582f9b62c15304478aaf862 100644
(file)
--- a/
findutils/grep.c
+++ b/
findutils/grep.c
@@
-376,7
+376,7
@@
static int file_action_grep(const char *filename, struct stat *statbuf, void* ma
FILE *file = fopen(filename, "r");
if (file == NULL) {
if (!SUPPRESS_ERR_MSGS)
- bb_simple_perror_msg(
cur_fil
e);
+ bb_simple_perror_msg(
filenam
e);
open_errors = 1;
return 0;
}