summaryrefslogtreecommitdiff
path: root/power/stats/aidl/default/main.cpp
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2021-12-14 01:45:47 +0000
committerSteven Moreland <smoreland@google.com>2021-12-14 01:45:47 +0000
commitffb03995e6a767016671d149762373c217331a32 (patch)
tree84bbe9e64d0ba45d9316bd7c8d7e026a6cf86b44 /power/stats/aidl/default/main.cpp
parent391a7723003d1bfd3f52aa9e663abf1a23adf4a6 (diff)
CHECK -> CHECK_EQ copy pasta
Hey did I start this? We can take a little bit better errors. :) Bug: N/A Test: N/A Change-Id: I0e96f7f49dae9968904333da9b8269694058c11c
Diffstat (limited to 'power/stats/aidl/default/main.cpp')
-rw-r--r--power/stats/aidl/default/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/power/stats/aidl/default/main.cpp b/power/stats/aidl/default/main.cpp
index 2fe3d2e103..9e78247562 100644
--- a/power/stats/aidl/default/main.cpp
+++ b/power/stats/aidl/default/main.cpp
@@ -73,7 +73,7 @@ int main() {
const std::string instance = std::string() + PowerStats::descriptor + "/default";
binder_status_t status = AServiceManager_addService(p->asBinder().get(), instance.c_str());
- CHECK(status == STATUS_OK);
+ CHECK_EQ(status, STATUS_OK);
ABinderProcess_joinThreadPool();
return EXIT_FAILURE; // should not reach