summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/debugfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/debugfs.h')
-rw-r--r--tools/perf/util/debugfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/debugfs.h b/tools/perf/util/debugfs.h
index 3cd14f9..83a0287 100644
--- a/tools/perf/util/debugfs.h
+++ b/tools/perf/util/debugfs.h
@@ -15,7 +15,7 @@
extern const char *debugfs_find_mountpoint(void);
extern int debugfs_valid_mountpoint(const char *debugfs);
extern int debugfs_valid_entry(const char *path);
-extern int debugfs_mount(const char *mountpoint);
+extern char *debugfs_mount(const char *mountpoint);
extern int debugfs_umount(void);
extern int debugfs_write(const char *entry, const char *value);
extern int debugfs_read(const char *entry, char *buffer, size_t size);
OpenPOWER on IntegriCloud