summaryrefslogtreecommitdiffhomepage
path: root/findutils/grep.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-11-24 13:25:20 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-11-24 13:25:20 +0000
commita9acbe6caddc59e7e25f4e469322e5c210e17775 (patch)
tree4e11174d18e586c5f7510adf31323f9dd98d7446 /findutils/grep.c
parent00d8417631b1ae378d708e885dce74bafb02be96 (diff)
timeout: new applet. 370 bytes. by Roberto Foglietta.
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 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, ':');
}