commit | c4ff03899dd6259299c90e9b9e344ec737cd77e4 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Sep 10 18:13:06 2014 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Sep 10 18:13:07 2014 +0000 |
tree | 086ef88d4be0cb24b4f9f15efd694f7ccb850109 | |
parent | da3510b27246de1ab3eda38a14a80839e2f39c64 [diff] | |
parent | 553630e4233251f905ffc90e44cdc6f4f16f39e7 [diff] |
Merge "adb: Add USB vendor ID for Alco Digital Devices Limited"
diff --git a/fs_mgr/fs_mgr_verity.c b/fs_mgr/fs_mgr_verity.c index c9a2a9b..1d2e43f 100644 --- a/fs_mgr/fs_mgr_verity.c +++ b/fs_mgr/fs_mgr_verity.c
@@ -120,7 +120,9 @@ { int data_device; struct ext4_super_block sb; - struct fs_info info = {0}; + struct fs_info info; + + info.len = 0; /* Only len is set to 0 to ask the device for real size. */ data_device = open(blk_device, O_RDONLY); if (data_device < 0) {