diff options
author | robi <robi> | 2010-10-03 12:52:11 +0000 |
---|---|---|
committer | robi <robi> | 2010-10-03 12:52:11 +0000 |
commit | cfab71243fcef6673b8f1a7532d1641bfb66fe46 (patch) | |
tree | bcd26e48e7b9f93a58a4d5b6685ac696821acea8 /src | |
parent | 88e4c10b43783c24201e932b6494250b548ed84b (diff) |
BUG #017562
Diffstat (limited to 'src')
-rw-r--r-- | src/magic_block_scan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/magic_block_scan.c b/src/magic_block_scan.c index 51cc34d..2978dcd 100644 --- a/src/magic_block_scan.c +++ b/src/magic_block_scan.c @@ -235,7 +235,7 @@ static int check_meta3_block(unsigned char *block_buf, blk_t blk, __u32 size){ static int check_indirect_meta3(unsigned char *block_buf){ blk_t *pb_block; blk_t last; - int i = current_fs->blocksize/sizeof(blk_t); + int i = current_fs->blocksize/sizeof(blk_t) -1; int count=0; int next =0; |