Snap for 4620899 from 472010f5f61be5f09439b62f30f006150dd9c9b7 to pi-release
Change-Id: Ic6eda700476a1d35a7a2a3e0f5050b7abbfd69f6
This commit is contained in:
commit
40e5de6dda
4
lmkd.c
4
lmkd.c
|
|
@ -605,7 +605,7 @@ static int memory_stat_parse(struct memory_stat *mem_st, int pid, uid_t uid) {
|
|||
fp = fopen(buf, "r");
|
||||
|
||||
if (fp == NULL) {
|
||||
ALOGE("%s open failed: %s", path, strerror(errno));
|
||||
ALOGE("%s open failed: %s", buf, strerror(errno));
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
@ -715,7 +715,7 @@ static int kill_one_process(struct proc* procp, int min_score_adj,
|
|||
int r;
|
||||
|
||||
#ifdef LMKD_LOG_STATS
|
||||
struct memory_stat mem_st;
|
||||
struct memory_stat mem_st = {};
|
||||
int memory_stat_parse_result = -1;
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue