summaryrefslogtreecommitdiff
path: root/tools/perf/util/util.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2015-09-18 10:24:01 +0300
committerIngo Molnar <mingo@kernel.org>2015-09-18 10:24:01 +0300
commit02386c356af0ce5bbee11ed9b23c312ca60298f0 (patch)
tree24d6816d783975cbc237af3a53c34f44fda03de2 /tools/perf/util/util.c
parentd71b0ad8d30922ccdd0705318237e6890b4ec1b6 (diff)
parentf73e22ab450140830005581c2c7ec389791a1b8d (diff)
downloadlinux-02386c356af0ce5bbee11ed9b23c312ca60298f0.tar.xz
Merge branch 'perf/urgent' into perf/core, to pick up fixes before applying new changes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/util/util.c')
-rw-r--r--tools/perf/util/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/util.c b/tools/perf/util/util.c
index 49a5c6ad55f5..ce465b259e52 100644
--- a/tools/perf/util/util.c
+++ b/tools/perf/util/util.c
@@ -639,7 +639,7 @@ bool find_process(const char *name)
dir = opendir(procfs__mountpoint());
if (!dir)
- return -1;
+ return false;
/* Walk through the directory. */
while (ret && (d = readdir(dir)) != NULL) {