From 96f67316a22bc9236aed70b198e91a5406389e5b Mon Sep 17 00:00:00 2001 From: Tom Cherry Date: Thu, 30 Jul 2015 13:52:55 -0700 Subject: init: use std::vector for argument passing Change-Id: Ie7a64e65de3a20d0c7f7d8efc0f7c1ba121d07fe --- init/bootchart.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init/bootchart.cpp') 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& args) { g_remaining_samples = bootchart_init(); if (g_remaining_samples < 0) { ERROR("Bootcharting init failure: %s\n", strerror(errno)); -- cgit v1.2.3