summaryrefslogtreecommitdiff
path: root/rebootescrow/aidl/default/service.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rebootescrow/aidl/default/service.cpp')
-rw-r--r--rebootescrow/aidl/default/service.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rebootescrow/aidl/default/service.cpp b/rebootescrow/aidl/default/service.cpp
index 8a8086b498..dc06c71b94 100644
--- a/rebootescrow/aidl/default/service.cpp
+++ b/rebootescrow/aidl/default/service.cpp
@@ -34,7 +34,7 @@ int main() {
auto re = ndk::SharedRefBase::make<RebootEscrow>(rebootEscrowDevicePath);
const std::string instance = std::string() + RebootEscrow::descriptor + "/default";
binder_status_t status = AServiceManager_addService(re->asBinder().get(), instance.c_str());
- CHECK(status == STATUS_OK);
+ CHECK_EQ(status, STATUS_OK);
ABinderProcess_joinThreadPool();
return EXIT_FAILURE;