projects
/
platform
/
core
/
appfw
/
launchpad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce362d2
)
Fix wrong condition of maximum count of cpu checker
79/287679/1
author
Hwankyu Jhun
<h.jhun@samsung.com>
Thu, 2 Feb 2023 07:30:39 +0000
(07:30 +0000)
committer
Hwankyu Jhun
<h.jhun@samsung.com>
Thu, 2 Feb 2023 07:30:39 +0000
(07:30 +0000)
The return value should be compared with the INT_MIN.
Change-Id: I83cca8e386abafaecf925c035e239dba28189347
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/launchpad-process-pool/src/launchpad_config.c
patch
|
blob
|
history
diff --git
a/src/launchpad-process-pool/src/launchpad_config.c
b/src/launchpad-process-pool/src/launchpad_config.c
index
90e4256
..
b1be6ea
100644
(file)
--- a/
src/launchpad-process-pool/src/launchpad_config.c
+++ b/
src/launchpad-process-pool/src/launchpad_config.c
@@
-251,7
+251,7
@@
static void __cpu_checker_set(dictionary *d)
ret = __get_int_value(d, TAG_CPU_CHECKER,
KEY_CPU_CHECKER_MAX_COUNT);
- if (ret != INT_M
AX
)
+ if (ret != INT_M
IN
)
__cpu_checker.max_count = ret;
_W("CPU Checker MaxCount(%d)", __cpu_checker.max_count);