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