summaryrefslogtreecommitdiff
path: root/tools/perf/tests/dlfilter-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/dlfilter-test.c')
-rw-r--r--tools/perf/tests/dlfilter-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/tests/dlfilter-test.c b/tools/perf/tests/dlfilter-test.c
index 99aa72e425e4..086fd2179e41 100644
--- a/tools/perf/tests/dlfilter-test.c
+++ b/tools/perf/tests/dlfilter-test.c
@@ -88,7 +88,7 @@ static __printf(1, 2) int system_cmd(const char *fmt, ...)
if (ret <= 0 || ret >= MAXCMD)
return -1;
- if (!verbose)
+ if (verbose <= 0)
strcat(cmd, REDIRECT_TO_DEV_NULL);
pr_debug("Command: %s\n", cmd);