Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add missing return values in error return cases in the ext2fs library.
[tools/e2fsprogs.git]
/
lib
/
ext2fs
/
ind_block.c
diff --git
a/lib/ext2fs/ind_block.c
b/lib/ext2fs/ind_block.c
index
9f77a07
..
3519048
100644
(file)
--- a/
lib/ext2fs/ind_block.c
+++ b/
lib/ext2fs/ind_block.c
@@
-32,7
+32,7
@@
errcode_t ext2fs_read_ind_block(ext2_filsys fs, blk_t blk, void *buf)
else {
retval = io_channel_read_blk(fs->io, blk, 1, buf);
if (retval)
- retval;
+ ret
urn ret
val;
}
#ifdef EXT2FS_ENABLE_SWAPFS
if (fs->flags & (EXT2_FLAG_SWAP_BYTES | EXT2_FLAG_SWAP_BYTES_READ)) {