Merge "libprocessgroup: PLOG already includes strerror(errno)."
am: 0e5b74deff
Change-Id: Iedbb582e7d917e772bc0ddacb725733059120292
This commit is contained in:
commit
9403b8883c
1 changed files with 1 additions and 1 deletions
|
|
@ -202,7 +202,7 @@ bool SetCgroupAction::ExecuteForProcess(uid_t uid, pid_t pid) const {
|
|||
std::string procs_path = controller_->GetProcsFilePath(path_, uid, pid);
|
||||
unique_fd tmp_fd(TEMP_FAILURE_RETRY(open(procs_path.c_str(), O_WRONLY | O_CLOEXEC)));
|
||||
if (tmp_fd < 0) {
|
||||
PLOG(WARNING) << "Failed to open " << procs_path << ": " << strerror(errno);
|
||||
PLOG(WARNING) << "Failed to open " << procs_path;
|
||||
return false;
|
||||
}
|
||||
if (!AddTidToCgroup(pid, tmp_fd)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue