diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-05-01 12:42:47 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2009-05-01 12:42:47 -0400 |
commit | 7bd5469cd938eec6a76b3135e6becd9b5e096e98 (patch) | |
tree | 721ed8320966a368971a10c7061bfeddddbaf45b /Documentation | |
parent | a92e70237c8abbd1c3241133bf72f2cd07c90eae (diff) |
perfcounter tools: fix pointer mismatch
Neither process_options nor execvp take an const **char as argument.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/perf_counter/builtin-record.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/perf_counter/builtin-record.c b/Documentation/perf_counter/builtin-record.c index 59f1d87f41e9..3a3deb3fbbc0 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) | |||
332 | done = 1; | 332 | done = 1; |
333 | } | 333 | } |
334 | 334 | ||
335 | int cmd_record(int argc, const char **argv) | 335 | int cmd_record(int argc, char **argv) |
336 | { | 336 | { |
337 | struct pollfd event_array[MAX_NR_CPUS * MAX_COUNTERS]; | 337 | struct pollfd event_array[MAX_NR_CPUS * MAX_COUNTERS]; |
338 | struct mmap_data mmap_array[MAX_NR_CPUS][MAX_COUNTERS]; | 338 | struct mmap_data mmap_array[MAX_NR_CPUS][MAX_COUNTERS]; |