Merge changes from topic "revert-2685449-apexdata-dirs-NPLMAAVHNV" into main
* changes:
Use /data/misc/apexdata for the list of APEXes
Revert "Use apexservice to get the list of apexes"
diff --git a/vdc.cpp b/vdc.cpp
index b63abbb..d3fb9c5 100644
--- a/vdc.cpp
+++ b/vdc.cpp
@@ -62,7 +62,7 @@
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);
}