diff options
-rw-r--r-- | tools/perf/util/probe-finder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/probe-finder.c b/tools/perf/util/probe-finder.c index 17f9c4a66ddd..194f9e2a3285 100644 --- a/tools/perf/util/probe-finder.c +++ b/tools/perf/util/probe-finder.c | |||
@@ -1328,7 +1328,7 @@ static int probe_point_lazy_walker(const char *fname, int lineno, | |||
1328 | * Continue if no error, because the lazy pattern will match | 1328 | * Continue if no error, because the lazy pattern will match |
1329 | * to other lines | 1329 | * to other lines |
1330 | */ | 1330 | */ |
1331 | return ret < 0 ?: 0; | 1331 | return ret < 0 ? ret : 0; |
1332 | } | 1332 | } |
1333 | 1333 | ||
1334 | /* Find probe points from lazy pattern */ | 1334 | /* Find probe points from lazy pattern */ |