Fix log message enable -> disable

Bug: b/130202267
Test: untested
Change-Id: I86f3eebddba75a9f13007d2c8603403ed4230412
This commit is contained in:
Hector Dearman
2019-04-09 14:08:13 +01:00
parent e465f8e659
commit 4c5ddf152b

View File

@@ -94,7 +94,7 @@ Return<::android::hardware::atrace::V1_0::Status> AtraceDevice::disableAllCatego
for (auto& c : kTracingMap) {
for (auto& p : c.second.paths) {
if (!android::base::WriteStringToFile("0", p.first)) {
LOG(ERROR) << "Failed to enable tracing on: " << p.first;
LOG(ERROR) << "Failed to disable tracing on: " << p.first;
if (p.second) {
ret = Status::ERROR_TRACING_POINT;
}