summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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";
}