log extra info for debugging
Make recovery log its PID, and when we use a block map file, log how many ranges it contains. Change-Id: I1b4299f8163af68a770b48c029ae25e6cb45d26b
This commit is contained in:
@@ -153,6 +153,8 @@ static int sysMapBlockFile(FILE* mapf, MemMapping* pMap)
|
||||
pMap->addr = reserve;
|
||||
pMap->length = size;
|
||||
|
||||
LOGI("mmapped %d ranges\n", range_count);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -938,7 +938,7 @@ main(int argc, char **argv) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
printf("Starting recovery on %s", ctime(&start));
|
||||
printf("Starting recovery (pid %d) on %s", getpid(), ctime(&start));
|
||||
|
||||
load_volume_table();
|
||||
ensure_path_mounted(LAST_LOG_FILE);
|
||||
|
||||
Reference in New Issue
Block a user