Merge "init: use PLOG rather than strerror." am: 71c084d07e
am: f09e388f95
am: c721eccf01
Change-Id: I0bcee5ef6e4bebc99cb47ff016f827e6d35421cd
This commit is contained in:
commit
abc51e5e8b
|
@ -1059,7 +1059,7 @@ Result<Success> Service::Start() {
|
|||
std::string oom_str = std::to_string(oom_score_adjust_);
|
||||
std::string oom_file = StringPrintf("/proc/%d/oom_score_adj", pid);
|
||||
if (!WriteStringToFile(oom_str, oom_file)) {
|
||||
PLOG(ERROR) << "couldn't write oom_score_adj: " << strerror(errno);
|
||||
PLOG(ERROR) << "couldn't write oom_score_adj";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue