diff options
| author | 2016-03-17 16:46:41 +0000 | |
|---|---|---|
| committer | 2016-03-17 16:46:42 +0000 | |
| commit | d3d45c3dddf48d557f2b0d622df8ebc1317f9bb5 (patch) | |
| tree | 4d058ea3b6bcd4a29cc69d41d0414fbacde08880 /cmds/dumpstate/dumpstate.cpp | |
| parent | b25c2d375c400556a553f64744d4a080add6a68c (diff) | |
| parent | a34efb7ae17a7ea1078cce75be634120bd72a421 (diff) | |
Merge "Improve logging of child commands." into nyc-dev
Diffstat (limited to 'cmds/dumpstate/dumpstate.cpp')
| -rw-r--r-- | cmds/dumpstate/dumpstate.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp index f0fb856a00..5898b4194c 100644 --- a/cmds/dumpstate/dumpstate.cpp +++ b/cmds/dumpstate/dumpstate.cpp @@ -1058,7 +1058,9 @@ int main(int argc, char *argv[]) { } /* parse arguments */ - log_args("Dumpstate command line", argc, const_cast<const char **>(argv)); + std::string args; + format_args(argc, const_cast<const char **>(argv), &args); + MYLOGD("Dumpstate command line: %s\n", args.c_str()); int c; while ((c = getopt(argc, argv, "dho:svqzpPBRV:")) != -1) { switch (c) { |