fs_mgr: check console-ramoops-0

On later kernels /sys/fs/pstore/console-ramoops becomes
/sys/fs/pstore/console-ramoops-0

Test: none
Bug: 63058217
Change-Id: If1422e4df09b68c44f16608b1d191aeb6378c66b
This commit is contained in:
Mark Salyzyn 2017-06-27 09:03:37 -07:00
parent 449bfd7a93
commit cab56c0ba5
1 changed files with 4 additions and 1 deletions

View File

@ -348,10 +348,13 @@ out:
static int was_verity_restart()
{
static const char *files[] = {
static const char* files[] = {
// clang-format off
"/sys/fs/pstore/console-ramoops-0",
"/sys/fs/pstore/console-ramoops",
"/proc/last_kmsg",
NULL
// clang-format on
};
int i;