summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author David Duarte <licorne@google.com> 2024-04-10 23:54:36 +0000
committer David Duarte <licorne@google.com> 2024-04-10 23:54:36 +0000
commit67d652854a37df4e368e3a1091d534eaa54deeab (patch)
tree4e96159080d0cc7b5a1f6625fd4c01715ec297a4
parentab2daeca28b23a164a8bb5100e3e39a4092a7689 (diff)
Add missing argument to ALOGE
The argument was missed in https://r.android.com/3015177 Bug: 315250603 Change-Id: I78f2da409651871ed76639b3cfaa13e501e1213f
-rw-r--r--cmds/servicemanager/ServiceManager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmds/servicemanager/ServiceManager.cpp b/cmds/servicemanager/ServiceManager.cpp
index a5c0c602c7..95a05cdcde 100644
--- a/cmds/servicemanager/ServiceManager.cpp
+++ b/cmds/servicemanager/ServiceManager.cpp
@@ -790,7 +790,8 @@ Status ServiceManager::registerClientCallback(const std::string& name, const sp<
if (OK !=
IInterface::asBinder(cb)->linkToDeath(sp<ServiceManager>::fromExisting(this))) {
- ALOGE("%s Could not linkToDeath when adding client callback for %s", name.c_str());
+ ALOGE("%s Could not linkToDeath when adding client callback for %s",
+ ctx.toDebugString().c_str(), name.c_str());
return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, "Couldn't linkToDeath.");
}