Use String8/16 c_str
Bug: 295394788 Test: make checkbuild Change-Id: I6029b226006c4e82849411adfe539d5c43763e18
This commit is contained in:
parent
d54caf0598
commit
fa1b3971fd
1 changed files with 1 additions and 1 deletions
2
vdc.cpp
2
vdc.cpp
|
@ -62,7 +62,7 @@ static android::sp<android::IBinder> getServiceAggressive() {
|
|||
static void checkStatus(std::vector<std::string>& cmd, android::binder::Status status) {
|
||||
if (status.isOk()) return;
|
||||
std::string command = ::android::base::Join(cmd, " ");
|
||||
LOG(ERROR) << "Command: " << command << " Failed: " << status.toString8().string();
|
||||
LOG(ERROR) << "Command: " << command << " Failed: " << status.toString8().c_str();
|
||||
exit(ENOTTY);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue