summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnsung Lee <unsung.lee@samsung.com>2021-12-10 19:33:43 +0900
committerUnsung Lee <unsung.lee@samsung.com>2021-12-10 19:34:04 +0900
commit4f570db32cd78344b587cdac1b685e90256e8b2c (patch)
tree65bcce9d50ea0ebb68930f559c86489d6d04338e
parent395abd6237cd16befcf3220a87ca61ef3c875433 (diff)
downloadresourced-accepted/tizen_6.0_unified.tar.gz
resourced-accepted/tizen_6.0_unified.tar.bz2
resourced-accepted/tizen_6.0_unified.zip
Change-Id: I93e614c76a9f7aaf4749d3fed37236cb909a59fb Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
-rw-r--r--src/memory/vmpressure-lowmem-handler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/memory/vmpressure-lowmem-handler.c b/src/memory/vmpressure-lowmem-handler.c
index d29f21d4..fb15a593 100644
--- a/src/memory/vmpressure-lowmem-handler.c
+++ b/src/memory/vmpressure-lowmem-handler.c
@@ -400,8 +400,8 @@ static const char *convert_type_to_str(int type)
static const char *convert_status_to_str(int status)
{
static const char *status_table[] =
- {"none", "done", "drop", "retry", "next_type", "cont"};
- if(status >= LOWMEM_RECLAIM_NONE && status <= LOWMEM_RECLAIM_CONT)
+ {"none", "done", "drop", "cont", "retry", "next_type"};
+ if(status >= LOWMEM_RECLAIM_NONE && status <= LOWMEM_RECLAIM_NEXT_TYPE)
return status_table[status];
return "error status";
}