diff options
Diffstat (limited to 'tools/perf/builtin-sched.c')
-rw-r--r-- | tools/perf/builtin-sched.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c index 387a44234368..62585b20dd0c 100644 --- a/tools/perf/builtin-sched.c +++ b/tools/perf/builtin-sched.c | |||
@@ -1360,7 +1360,7 @@ static struct sort_dimension *available_sorts[] = { | |||
1360 | 1360 | ||
1361 | static LIST_HEAD(sort_list); | 1361 | static LIST_HEAD(sort_list); |
1362 | 1362 | ||
1363 | static int sort_dimension__add(char *tok, struct list_head *list) | 1363 | static int sort_dimension__add(const char *tok, struct list_head *list) |
1364 | { | 1364 | { |
1365 | int i; | 1365 | int i; |
1366 | 1366 | ||
@@ -1904,7 +1904,7 @@ static void setup_sorting(void) | |||
1904 | 1904 | ||
1905 | free(str); | 1905 | free(str); |
1906 | 1906 | ||
1907 | sort_dimension__add((char *)"pid", &cmp_pid); | 1907 | sort_dimension__add("pid", &cmp_pid); |
1908 | } | 1908 | } |
1909 | 1909 | ||
1910 | static const char *record_args[] = { | 1910 | static const char *record_args[] = { |