Skip to content

Commit

Permalink
Add missing argument to ALOGE
Browse files Browse the repository at this point in the history
The argument was missed in https://r.android.com/3015177

Bug: 315250603
Change-Id: I78f2da409651871ed76639b3cfaa13e501e1213f
  • Loading branch information
DeltaEvo committed Apr 10, 2024
1 parent ab2daec commit 67d6528
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmds/servicemanager/ServiceManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
}

Expand Down

0 comments on commit 67d6528

Please sign in to comment.