aboutsummaryrefslogtreecommitdiff
path: root/findutils
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2008-11-24 13:25:20 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2008-11-24 13:25:20 +0000
commita9acbe6caddc59e7e25f4e469322e5c210e17775 (patch)
tree4e11174d18e586c5f7510adf31323f9dd98d7446 /findutils
parent00d8417631b1ae378d708e885dce74bafb02be96 (diff)
downloadbusybox-a9acbe6caddc59e7e25f4e469322e5c210e17775.tar.gz
busybox-a9acbe6caddc59e7e25f4e469322e5c210e17775.tar.bz2
timeout: new applet. 370 bytes. by Roberto Foglietta.
Diffstat (limited to 'findutils')
-rw-r--r--findutils/grep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/findutils/grep.c b/findutils/grep.c
index 73e74f4b3..6a6ddb679 100644
--- a/findutils/grep.c
+++ b/findutils/grep.c
@@ -374,11 +374,11 @@ static int grep_file(FILE *file)
break;
#else
if (re_search(&gl->compiled_regex, line, line_len,
- gl->matched_range.rm_eo, line_len - gl->matched_range.rm_eo,
+ gl->matched_range.rm_eo, line_len - gl->matched_range.rm_eo,
&gl->matched_range) < 0)
break;
#endif
- }
+ }
} else {
print_line(line, line_len, linenum, ':');
}