perfcounter tools: fix pointer mismatch

Neither process_options nor execvp take an const **char as argument.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Thomas Gleixner 2009-05-01 18:42:47 +02:00
parent a92e70237c
commit 7bd5469cd9
1 changed files with 1 additions and 1 deletions

View File

@ -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];