Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 162977
b: refs/heads/master
c: b36461d
h: refs/heads/master
i:
  162975: 4ca5754
v: v3
  • Loading branch information
Atsushi Tsuji authored and Steven Rostedt committed Sep 16, 2009
1 parent 0814273 commit 145876e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: fe832a3a48737b24f95fab202b1c67fb588b071d
refs/heads/master: b36461da2a0389149d7f88f3cbc05a30d1db9faa
4 changes: 2 additions & 2 deletions trunk/kernel/trace/ftrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -2062,9 +2062,9 @@ __unregister_ftrace_function_probe(char *glob, struct ftrace_probe_ops *ops,
int i, len = 0;
char *search;

if (glob && (strcmp(glob, "*") || !strlen(glob)))
if (glob && (strcmp(glob, "*") == 0 || !strlen(glob)))
glob = NULL;
else {
else if (glob) {
int not;

type = ftrace_setup_glob(glob, strlen(glob), &search, &not);
Expand Down

0 comments on commit 145876e

Please sign in to comment.