Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179373
b: refs/heads/master
c: b2af211
h: refs/heads/master
i:
  179371: 02a42de
v: v3
  • Loading branch information
Li Zefan authored and Steven Rostedt committed Jan 15, 2010
1 parent b48c42a commit 29765f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d5f1fb53353edc38da326445267c1df0c9676df2
refs/heads/master: b2af211f284eb1bef19fbb85fc8ef551bb1e7460
2 changes: 1 addition & 1 deletion trunk/kernel/trace/trace_events_filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ static int regex_match_front(char *str, struct regex *r, int len)

static int regex_match_middle(char *str, struct regex *r, int len)
{
if (strstr(str, r->pattern))
if (strnstr(str, r->pattern, len))
return 1;
return 0;
}
Expand Down

0 comments on commit 29765f6

Please sign in to comment.