diff options
| author | 2020-01-23 23:11:08 +0000 | |
|---|---|---|
| committer | 2020-01-23 23:11:08 +0000 | |
| commit | a5933aa6ec2153607be41ae462dcd1172d30a18c (patch) | |
| tree | 7a9a7f243fc3984b3a797836dc9be97940211679 | |
| parent | c7120a98c08236761c490ea3284a404899f138a1 (diff) | |
| parent | 9b3b0e0461f2f4895b7b3ef8c4899f62a75ded1d (diff) | |
Merge "cmd: fix compile error in DEBUG" am: 6d24b1ebe8 am: 9b3b0e0461
Change-Id: I8495c25b6b02c9d61f278ac2875668c86a42bf19
| -rw-r--r-- | cmds/cmd/cmd.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmds/cmd/cmd.cpp b/cmds/cmd/cmd.cpp index 7b4aeb2cc2..8dad47502f 100644 --- a/cmds/cmd/cmd.cpp +++ b/cmds/cmd/cmd.cpp @@ -223,7 +223,8 @@ int cmdMain(const std::vector<std::string_view>& argv, TextOutput& outputLog, Te sp<MyResultReceiver> result = new MyResultReceiver(); #if DEBUG - ALOGD("cmd: Invoking %s in=%d, out=%d, err=%d", cmd, in, out, err); + ALOGD("cmd: Invoking %.*s in=%d, out=%d, err=%d", + static_cast<int>(cmd.size()), cmd.data(), in, out, err); #endif // TODO: block until a result is returned to MyResultReceiver. |