Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71c084d0 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "init: use PLOG rather than strerror."

parents f3762004 076305e4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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";
        }
    }