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

Commit 0f90ba64 authored by Krzysztof Kosiński's avatar Krzysztof Kosiński Committed by Gerrit Code Review
Browse files

Merge "Fix invalid uses of PLOG."

parents 18b6e9b8 0310ec4b
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -815,11 +815,11 @@ bool TaskProfiles::SetProcessProfiles(uid_t uid, pid_t pid, std::span<const T> p
                profile->EnableResourceCaching(ProfileAction::RCT_PROCESS);
            }
            if (!profile->ExecuteForProcess(uid, pid)) {
                PLOG(WARNING) << "Failed to apply " << name << " process profile";
                LOG(WARNING) << "Failed to apply " << name << " process profile";
                success = false;
            }
        } else {
            PLOG(WARNING) << "Failed to find " << name << " process profile";
            LOG(WARNING) << "Failed to find " << name << " process profile";
            success = false;
        }
    }
@@ -836,11 +836,11 @@ bool TaskProfiles::SetTaskProfiles(int tid, std::span<const T> profiles, bool us
                profile->EnableResourceCaching(ProfileAction::RCT_TASK);
            }
            if (!profile->ExecuteForTask(tid)) {
                PLOG(WARNING) << "Failed to apply " << name << " task profile";
                LOG(WARNING) << "Failed to apply " << name << " task profile";
                success = false;
            }
        } else {
            PLOG(WARNING) << "Failed to find " << name << " task profile";
            LOG(WARNING) << "Failed to find " << name << " task profile";
            success = false;
        }
    }