diff options
-rw-r--r-- | tools/perf/builtin-probe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-probe.c b/tools/perf/builtin-probe.c index fcde0031085f..2c0e64d0b4aa 100644 --- a/tools/perf/builtin-probe.c +++ b/tools/perf/builtin-probe.c | |||
@@ -173,7 +173,7 @@ static int opt_set_filter(const struct option *opt __used, | |||
173 | strfilter__delete(params.filter); | 173 | strfilter__delete(params.filter); |
174 | params.filter = strfilter__new(str, &err); | 174 | params.filter = strfilter__new(str, &err); |
175 | if (!params.filter) { | 175 | if (!params.filter) { |
176 | pr_err("Filter parse error at %ld.\n", err - str + 1); | 176 | pr_err("Filter parse error at %td.\n", err - str + 1); |
177 | pr_err("Source: \"%s\"\n", str); | 177 | pr_err("Source: \"%s\"\n", str); |
178 | pr_err(" %*c\n", (int)(err - str + 1), '^'); | 178 | pr_err(" %*c\n", (int)(err - str + 1), '^'); |
179 | return -EINVAL; | 179 | return -EINVAL; |