Merge "Use String8/16 c_str" into main am: 920fe9b065 am: affd3c30cc am: dc0c9884bc am: b18a6b8e88

Original change: https://android-review.googlesource.com/c/platform/system/vold/+/2705933

Change-Id: I66211fd8146d81ec595ea02629cc1d8ec4bbfffa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Tomasz Wasilczyk 2023-08-12 01:45:08 +00:00 committed by Automerger Merge Worker
commit 389c690708

View file

@ -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);
}