diff --git a/sensors/HalProxy.cpp b/sensors/HalProxy.cpp index f379c2f2..117921f2 100644 --- a/sensors/HalProxy.cpp +++ b/sensors/HalProxy.cpp @@ -263,8 +263,8 @@ Return HalProxy::initializeCommon( Result currRes = mSubHalList[i]->initialize(this, this, i); if (currRes != Result::OK) { result = currRes; - ALOGE("Subhal '%s' failed to initialize.", mSubHalList[i]->getName().c_str()); - break; + ALOGE("Subhal '%s' failed to initialize with reason %" PRId32 ".", + mSubHalList[i]->getName().c_str(), static_cast(currRes)); } }