summaryrefslogtreecommitdiff
path: root/tools/perf/tests/fdarray.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/fdarray.c')
-rw-r--r--tools/perf/tests/fdarray.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/tests/fdarray.c b/tools/perf/tests/fdarray.c
index a2b5ff9bf83d..bc5982f42dc3 100644
--- a/tools/perf/tests/fdarray.c
+++ b/tools/perf/tests/fdarray.c
@@ -19,7 +19,7 @@ static int fdarray__fprintf_prefix(struct fdarray *fda, const char *prefix, FILE
{
int printed = 0;
- if (!verbose)
+ if (verbose <= 0)
return 0;
printed += fprintf(fp, "\n%s: ", prefix);