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:
commit
2c75c4987c
2
lmkd.cpp
2
lmkd.cpp
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue