From 30333b652a4c81f5bbe256416c35431ec44745a9 Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Tue, 25 Dec 2012 17:23:39 +0100 Subject: [PATCH] --- yaml --- r: 349948 b: refs/heads/master c: a65c23420668f7112395abf9c6f22c6450567bf0 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/tools/perf/util/sysfs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 841b5e56c819..6128a7e108f2 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 31160d7feab786c991780d7f0ce2755a469e0e5e +refs/heads/master: a65c23420668f7112395abf9c6f22c6450567bf0 diff --git a/trunk/tools/perf/util/sysfs.c b/trunk/tools/perf/util/sysfs.c index 48c6902e749f..f71e9eafe15a 100644 --- a/trunk/tools/perf/util/sysfs.c +++ b/trunk/tools/perf/util/sysfs.c @@ -8,7 +8,7 @@ static const char * const sysfs_known_mountpoints[] = { }; static int sysfs_found; -char sysfs_mountpoint[PATH_MAX]; +char sysfs_mountpoint[PATH_MAX + 1]; static int sysfs_valid_mountpoint(const char *sysfs) {