Skip to content

Commit

Permalink
perfcounter tools: fix pointer mismatch
Browse files Browse the repository at this point in the history
Neither process_options nor execvp take an const **char as argument.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Thomas Gleixner committed May 1, 2009
1 parent a92e702 commit 7bd5469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/perf_counter/builtin-record.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 7bd5469

Please sign in to comment.