diff options
author | Unsung Lee <unsung.lee@samsung.com> | 2021-12-10 19:33:43 +0900 |
---|---|---|
committer | Unsung Lee <unsung.lee@samsung.com> | 2021-12-10 19:34:04 +0900 |
commit | 4f570db32cd78344b587cdac1b685e90256e8b2c (patch) | |
tree | 65bcce9d50ea0ebb68930f559c86489d6d04338e | |
parent | 395abd6237cd16befcf3220a87ca61ef3c875433 (diff) | |
download | resourced-accepted/tizen_6.0_unified.tar.gz resourced-accepted/tizen_6.0_unified.tar.bz2 resourced-accepted/tizen_6.0_unified.zip |
Fix convert_status_to_strsubmit/tizen_6.0/20211210.105645accepted/tizen/6.0/unified/20211213.050337tizen_6.0accepted/tizen_6.0_unified
Change-Id: I93e614c76a9f7aaf4749d3fed37236cb909a59fb
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
-rw-r--r-- | src/memory/vmpressure-lowmem-handler.c | 4 |
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"; } |