Merge "Use String8/16 c_str" into main
This commit is contained in:
commit
920fe9b065
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) {
|
static void checkStatus(std::vector<std::string>& cmd, android::binder::Status status) {
|
||||||
if (status.isOk()) return;
|
if (status.isOk()) return;
|
||||||
std::string command = ::android::base::Join(cmd, " ");
|
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);
|
exit(ENOTTY);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue