diff --git a/vdc.cpp b/vdc.cpp index b63abbb..d3fb9c5 100644 --- a/vdc.cpp +++ b/vdc.cpp @@ -62,7 +62,7 @@ static android::sp getServiceAggressive() { static void checkStatus(std::vector& 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); }