Rename flag -> flags 00/278600/2 accepted/tizen/unified/20220726.132018 submit/tizen/20220725.093537
authorUnsung Lee <unsung.lee@samsung.com>
Fri, 22 Jul 2022 08:02:28 +0000 (17:02 +0900)
committerUnsung Lee <unsung.lee@samsung.com>
Fri, 22 Jul 2022 08:04:17 +0000 (17:04 +0900)
Change-Id: I85bd5311936f7e3feb0890a352d9a50c0a063867
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
src/resource-optimizer/cpu/cpu-boosting.c

index 2646b26..ed140fe 100644 (file)
@@ -482,7 +482,7 @@ static void cpu_boosting_set(struct cpu_boosting_input *input)
        cpu_boosting_level_e cpu_boosting_level = input->client_input.level;
 
        attr = cpu_boosting_attr[cpu_boosting_level];
-       if (input->client_input.flag & CPU_BOOSTING_RESET_ON_FORK) {
+       if (input->client_input.flags & CPU_BOOSTING_RESET_ON_FORK) {
                _I("[CPU-BOOSTING] Turn on SCHED_RESET_ON_FORK flag");
                attr.sched_policy |= SCHED_RESET_ON_FORK;
        }