commit | 71c084d07e0742f029db2a2a48d5217d6b745cd8 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Sat Mar 09 02:04:56 2019 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Sat Mar 09 02:04:56 2019 +0000 |
tree | 7fbe0d64e9ab42a50ef0ed859f7474ad446d364c | |
parent | f3762004a32fb89259cf2b10e9ec779efc83337e [diff] | |
parent | 076305e4fbb0c4ff5322a732eea4b3d24239d1b4 [diff] |
Merge "init: use PLOG rather than strerror."
diff --git a/init/service.cpp b/init/service.cpp index 2186a85..cba42c4 100644 --- a/init/service.cpp +++ b/init/service.cpp
@@ -1059,7 +1059,7 @@ 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"; } }