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

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

Change-Id: I5167cda3d53e40809f7ad863ab96c10550bf1962
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Tomasz Wasilczyk 2023-08-12 02:27:57 +00:00 committed by Automerger Merge Worker
commit 2c6d11a7d4

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