perfcounter tools: fix pointer mismatch
authorThomas Gleixner <tglx@linutronix.de>
Fri, 1 May 2009 16:42:47 +0000 (18:42 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 1 May 2009 16:42:47 +0000 (18:42 +0200)
Neither process_options nor execvp take an const **char as argument.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Documentation/perf_counter/builtin-record.c

index 59f1d87f41e938592edc15fb21293e2e07913765..3a3deb3fbbc066128d964d35c32c60a4534c2947 100644 (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];