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 73bdad029730..c9c68563e964 100644 --- a/tools/perf/builtin-sched.c +++ b/tools/perf/builtin-sched.c | |||
@@ -1352,7 +1352,7 @@ static struct sort_dimension *available_sorts[] = { | |||
1352 | 1352 | ||
1353 | static LIST_HEAD(sort_list); | 1353 | static LIST_HEAD(sort_list); |
1354 | 1354 | ||
1355 | static int sort_dimension__add(char *tok, struct list_head *list) | 1355 | static int sort_dimension__add(const char *tok, struct list_head *list) |
1356 | { | 1356 | { |
1357 | int i; | 1357 | int i; |
1358 | 1358 | ||
@@ -1896,7 +1896,7 @@ static void setup_sorting(void) | |||
1896 | 1896 | ||
1897 | free(str); | 1897 | free(str); |
1898 | 1898 | ||
1899 | sort_dimension__add((char *)"pid", &cmp_pid); | 1899 | sort_dimension__add("pid", &cmp_pid); |
1900 | } | 1900 | } |
1901 | 1901 | ||
1902 | static const char *record_args[] = { | 1902 | static const char *record_args[] = { |