diff options
author | Tom Cherry <tomcherry@google.com> | 2015-07-30 13:52:55 -0700 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2015-07-31 16:02:12 -0700 |
commit | 96f67316a22bc9236aed70b198e91a5406389e5b (patch) | |
tree | f168868b586356de56460b67ddfb10ab00e13e6d /init/bootchart.cpp | |
parent | cf4dba5ab315493531fff5a4867698a3659b0526 (diff) | |
download | system_core-96f67316a22bc9236aed70b198e91a5406389e5b.tar.gz system_core-96f67316a22bc9236aed70b198e91a5406389e5b.tar.bz2 system_core-96f67316a22bc9236aed70b198e91a5406389e5b.zip |
init: use std::vector<std::string> for argument passing
Change-Id: Ie7a64e65de3a20d0c7f7d8efc0f7c1ba121d07fe
Diffstat (limited to 'init/bootchart.cpp')
-rw-r--r-- | init/bootchart.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/bootchart.cpp b/init/bootchart.cpp index e5b153a6c..efaee1ca8 100644 --- a/init/bootchart.cpp +++ b/init/bootchart.cpp @@ -203,7 +203,7 @@ static int bootchart_init() { return count; } -int do_bootchart_init(int nargs, char** args) { +int do_bootchart_init(const std::vector<std::string>& args) { g_remaining_samples = bootchart_init(); if (g_remaining_samples < 0) { ERROR("Bootcharting init failure: %s\n", strerror(errno)); |