diff options
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) { |