aboutsummaryrefslogtreecommitdiffstats
path: root/minzip
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2014-01-21 09:25:41 -0800
committerDoug Zongker <dougz@android.com>2014-01-21 09:25:41 -0800
commit19a8e2463c31a97121c35b4666a8e6879fa7e338 (patch)
tree5ecf7ebd70ebcb712430f83ae78e9e3d625b271b /minzip
parent76adfc5309936a07218ce53b5ab284d5746fa84c (diff)
downloadbootable_recovery-19a8e2463c31a97121c35b4666a8e6879fa7e338.zip
bootable_recovery-19a8e2463c31a97121c35b4666a8e6879fa7e338.tar.gz
bootable_recovery-19a8e2463c31a97121c35b4666a8e6879fa7e338.tar.bz2
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
Diffstat (limited to 'minzip')
-rw-r--r--minzip/SysUtil.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/minzip/SysUtil.c b/minzip/SysUtil.c
index 2cfa39a..c046a8c 100644
--- a/minzip/SysUtil.c
+++ b/minzip/SysUtil.c
@@ -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;
}