Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179370
b: refs/heads/master
c: 285caad
h: refs/heads/master
v: v3
  • Loading branch information
Li Zefan authored and Steven Rostedt committed Jan 15, 2010
1 parent 013b625 commit 1ea09f5
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: 751e9983ee276cb150e8812b1d995f6035a63878
refs/heads/master: 285caad415f459f336247932b4db95a571357a02
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 @@ -261,7 +261,7 @@ static int regex_match_full(char *str, struct regex *r, int len)

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

0 comments on commit 1ea09f5

Please sign in to comment.