Browse Source

perfcounter tools: fix pointer mismatch

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Thomas Gleixner 16 years ago
parent
commit
7bd5469cd9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Documentation/perf_counter/builtin-record.c

+ 1 - 1
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];