lmkd: Fix the size of vmstat_field_names array am: caebcddf9f

Original change: https://android-review.googlesource.com/c/platform/system/memory/lmkd/+/2132969

Change-Id: Id034f3723232a95b220d3f15e4f2aa7668b26294
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Suren Baghdasaryan 2022-06-23 00:39:22 +00:00 committed by Automerger Merge Worker
commit 2c75c4987c
1 changed files with 1 additions and 1 deletions

View File

@ -469,7 +469,7 @@ enum vmstat_field {
VS_FIELD_COUNT VS_FIELD_COUNT
}; };
static const char* const vmstat_field_names[MI_FIELD_COUNT] = { static const char* const vmstat_field_names[VS_FIELD_COUNT] = {
"nr_free_pages", "nr_free_pages",
"nr_inactive_file", "nr_inactive_file",
"nr_active_file", "nr_active_file",