summaryrefslogtreecommitdiff
path: root/tools/perf/tests/evsel-roundtrip-name.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/evsel-roundtrip-name.c')
-rw-r--r--tools/perf/tests/evsel-roundtrip-name.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/tests/evsel-roundtrip-name.c b/tools/perf/tests/evsel-roundtrip-name.c
index fdbf17642e45..9d3c64974f77 100644
--- a/tools/perf/tests/evsel-roundtrip-name.c
+++ b/tools/perf/tests/evsel-roundtrip-name.c
@@ -64,7 +64,7 @@ static int perf_evsel__roundtrip_cache_name_test(void)
return ret;
}
-static int __perf_evsel__name_array_test(const char *names[], int nr_names,
+static int __perf_evsel__name_array_test(const char *const names[], int nr_names,
int distance)
{
int i, err;