diff options
Diffstat (limited to 'tools/perf/util/debugfs.c')
-rw-r--r-- | tools/perf/util/debugfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/debugfs.c b/tools/perf/util/debugfs.c index 1f805fde5fd4..a88fefc0cc0a 100644 --- a/tools/perf/util/debugfs.c +++ b/tools/perf/util/debugfs.c | |||
@@ -130,6 +130,7 @@ char *debugfs_mount(const char *mountpoint) | |||
130 | 130 | ||
131 | /* save the mountpoint */ | 131 | /* save the mountpoint */ |
132 | strncpy(debugfs_mountpoint, mountpoint, sizeof(debugfs_mountpoint)); | 132 | strncpy(debugfs_mountpoint, mountpoint, sizeof(debugfs_mountpoint)); |
133 | debugfs_found = 1; | ||
133 | 134 | ||
134 | return debugfs_mountpoint; | 135 | return debugfs_mountpoint; |
135 | } | 136 | } |