summaryrefslogtreecommitdiff
path: root/light/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 /light/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 '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