Snap for 4620899 from 472010f5f61be5f09439b62f30f006150dd9c9b7 to pi-release

Change-Id: Ic6eda700476a1d35a7a2a3e0f5050b7abbfd69f6
This commit is contained in:
android-build-team Robot 2018-02-25 08:25:22 +00:00
commit 40e5de6dda
1 changed files with 2 additions and 2 deletions

4
lmkd.c
View File

@ -605,7 +605,7 @@ static int memory_stat_parse(struct memory_stat *mem_st, int pid, uid_t uid) {
fp = fopen(buf, "r"); fp = fopen(buf, "r");
if (fp == NULL) { if (fp == NULL) {
ALOGE("%s open failed: %s", path, strerror(errno)); ALOGE("%s open failed: %s", buf, strerror(errno));
return -1; return -1;
} }
@ -715,7 +715,7 @@ static int kill_one_process(struct proc* procp, int min_score_adj,
int r; int r;
#ifdef LMKD_LOG_STATS #ifdef LMKD_LOG_STATS
struct memory_stat mem_st; struct memory_stat mem_st = {};
int memory_stat_parse_result = -1; int memory_stat_parse_result = -1;
#endif #endif