summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorrobi <robi>2010-10-20 23:23:01 +0000
committerrobi <robi>2010-10-20 23:23:01 +0000
commit89cc6be0e26452bfb2f456bc0d6ee6cfbd101479 (patch)
tree44da339f85c2417ae84e7a87dc79d86b8923cc7d /src/util.c
parent45f2227fe9b64d8d1520c9ec0a4baff9f6cf6ea2 (diff)
Bug #17618
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index 4536710..9804524 100644
--- a/src/util.c
+++ b/src/util.c
@@ -600,7 +600,7 @@ int get_dind_block_len(char *buf, blk_t *blk, blk_t *last, blk_t *next, __u64 *p
ret = get_ind_block_len(priv_buf, blk, last, next, p_len);
if (ret){
*p_len += (i * current_fs->blocksize * (current_fs->blocksize >>2) ) ;
- *next = ( i == ((current_fs->blocksize >> 2)- 1)) ? *last : 0 ;
+ *next = ( i == ((current_fs->blocksize >> 2)- 1)) ? *next : 0 ;
*blk += ((i * ((current_fs->blocksize >>2) + 1)) + 1) ;
}
free(priv_buf);