lmkd: Fix the size of vmstat_field_names array am: caebcddf9f am: 2c75c4987c am: 150ff325ac
Original change: https://android-review.googlesource.com/c/platform/system/memory/lmkd/+/2132969 Change-Id: I0c799db1ec9111994b36c88a54231dc1b0d4dd86 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
ab1cf2b96b
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