summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei Wang2018-06-20 16:54:52 -0500
committerWei Wang2018-06-20 17:55:10 -0500
commit2c4ee75b1ee629df9ddfe2367a9084b95a83a166 (patch)
tree4a2de41399268e794e3b98a8933bb075a55d7a34
parent9a2891c84b2da691fa002801be9d60438eea3488 (diff)
downloadplatform-system-core-2c4ee75b1ee629df9ddfe2367a9084b95a83a166.tar.gz
platform-system-core-2c4ee75b1ee629df9ddfe2367a9084b95a83a166.tar.xz
platform-system-core-2c4ee75b1ee629df9ddfe2367a9084b95a83a166.zip
init: print service name when started waiting
Bug: 110479595 Test: Boot Change-Id: I448a64cec4c1cd5b736f8b9d04cd26429067bb71
-rw-r--r--init/service.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/init/service.cpp b/init/service.cpp
index 565cae731..95b37abe2 100644
--- a/init/service.cpp
+++ b/init/service.cpp
@@ -787,9 +787,9 @@ Result<Success> Service::ExecStart() {
787 flags_ |= SVC_EXEC; 787 flags_ |= SVC_EXEC;
788 is_exec_service_running_ = true; 788 is_exec_service_running_ = true;
789 789
790 LOG(INFO) << "SVC_EXEC pid " << pid_ << " (uid " << uid_ << " gid " << gid_ << "+" 790 LOG(INFO) << "SVC_EXEC service '" << name_ << "' pid " << pid_ << " (uid " << uid_ << " gid "
791 << supp_gids_.size() << " context " << (!seclabel_.empty() ? seclabel_ : "default") 791 << gid_ << "+" << supp_gids_.size() << " context "
792 << ") started; waiting..."; 792 << (!seclabel_.empty() ? seclabel_ : "default") << ") started; waiting...";
793 793
794 return Success(); 794 return Success();
795} 795}