提交 7bd5469c 编写于 作者: T Thomas Gleixner

perfcounter tools: fix pointer mismatch

Neither process_options nor execvp take an const **char as argument.
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
上级 a92e7023
...@@ -332,7 +332,7 @@ static void sigchld_handler(int sig) ...@@ -332,7 +332,7 @@ static void sigchld_handler(int sig)
done = 1; done = 1;
} }
int cmd_record(int argc, const char **argv) int cmd_record(int argc, char **argv)
{ {
struct pollfd event_array[MAX_NR_CPUS * MAX_COUNTERS]; struct pollfd event_array[MAX_NR_CPUS * MAX_COUNTERS];
struct mmap_data mmap_array[MAX_NR_CPUS][MAX_COUNTERS]; struct mmap_data mmap_array[MAX_NR_CPUS][MAX_COUNTERS];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册