summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/binder/Stability.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/binder/Stability.cpp b/libs/binder/Stability.cpp
index f18bdca1fd..0bcce5bf94 100644
--- a/libs/binder/Stability.cpp
+++ b/libs/binder/Stability.cpp
@@ -58,7 +58,7 @@ status_t Stability::set(IBinder* binder, int32_t stability, bool log) {
if (currentStability != Level::UNDECLARED && currentStability != stability) {
if (log) {
ALOGE("Interface being set with %s but it is already marked as %s.",
- stabilityString(stability).c_str(), stabilityString(stability).c_str());
+ stabilityString(stability).c_str(), stabilityString(currentStability).c_str());
}
return BAD_TYPE;
}