Skip to content

Commit

Permalink
Merge "init: fix errno handling on KillProcessGroup"
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Cherry authored and Gerrit Code Review committed Apr 20, 2017
2 parents 2e82107 + e6ec266 commit f890ca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init/service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ void Service::KillProcessGroup(int signal) {
r = killProcessGroup(uid_, pid_, signal);
}
if (r == -1) {
PLOG(ERROR) << "killProcessGroup(" << uid_ << ", " << pid_ << ", " << signal << ") failed";
LOG(ERROR) << "killProcessGroup(" << uid_ << ", " << pid_ << ", " << signal << ") failed";
}
if (kill(-pid_, signal) == -1) {
PLOG(ERROR) << "kill(" << pid_ << ", " << signal << ") failed";
Expand Down

0 comments on commit f890ca9

Please sign in to comment.