From: Thomas Gleixner Date: Fri, 1 May 2009 16:42:47 +0000 (+0200) Subject: perfcounter tools: fix pointer mismatch X-Git-Tag: v2.6.31-rc1~383^2~309 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7bd5469cd938eec6a76b3135e6becd9b5e096e98;p=profile%2Fivi%2Fkernel-x86-ivi.git perfcounter tools: fix pointer mismatch Neither process_options nor execvp take an const **char as argument. Signed-off-by: Thomas Gleixner --- diff --git a/Documentation/perf_counter/builtin-record.c b/Documentation/perf_counter/builtin-record.c index 59f1d87..3a3deb3 100644 --- a/Documentation/perf_counter/builtin-record.c +++ b/Documentation/perf_counter/builtin-record.c @@ -332,7 +332,7 @@ static void sigchld_handler(int sig) 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 mmap_data mmap_array[MAX_NR_CPUS][MAX_COUNTERS];