summaryrefslogtreecommitdiff
path: root/power/aidl/default/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'power/aidl/default/main.cpp')
-rw-r--r--power/aidl/default/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/power/aidl/default/main.cpp b/power/aidl/default/main.cpp
index 964bd96506..306b91b04f 100644
--- a/power/aidl/default/main.cpp
+++ b/power/aidl/default/main.cpp
@@ -28,7 +28,7 @@ int main() {
const std::string instance = std::string() + Power::descriptor + "/default";
binder_status_t status = AServiceManager_addService(vib->asBinder().get(), instance.c_str());
- CHECK(status == STATUS_OK);
+ CHECK_EQ(status, STATUS_OK);
ABinderProcess_joinThreadPool();
return EXIT_FAILURE; // should not reach