perf record: Straighten out argv types
Commit-ID: 69aa48ab82e17299efe2be6c21795945731a6c17 Gitweb: http://git.kernel.org/tip/69aa48ab82e17299efe2be6c21795945731a6c17 Author: Ingo Molnar <[email protected]> AuthorDate: Tue, 26 May 2009 09:02:27 +0200 Committer: Ingo Molnar <[email protected]> CommitDate: Tue, 26 May 2009 10:05:56 +0200
perf record: Straighten out argv types
[ Impact: cleanup ]
Cc: Peter Zijlstra <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Corey Ashford <[email protected]>
Cc: Marcelo Tosatti <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: John Kacur <[email protected]>
LKML-Reference: <new-submission>
Signed-off-by Ingo Molnar <[email protected]>
--- Documentation/perf_counter/builtin-record.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
Documentation/perf_counter/builtin-record.c +2 -2
@@ -191,7 +191,7 @@ static void display_help(void)exit (0 ); } -static void process_options (int argc,const char *argv[]) +static void process_options (int argc,char *const argv[]) {int error =0 , counter;
@@ -538,7 +538,7 @@ static void open_counters(int cpu, pid_t pid) nr_cpu++; } -int cmd_record (int argc,const char **argv) +int cmd_record (int argc,char *const argv[]) {int i, counter;pid_t pid;