aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--e2fsprogs/ext2fs/dirblock.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/e2fsprogs/ext2fs/dirblock.c b/e2fsprogs/ext2fs/dirblock.c
index ebfc72c5f..5d66ad194 100644
--- a/e2fsprogs/ext2fs/dirblock.c
+++ b/e2fsprogs/ext2fs/dirblock.c
@@ -25,8 +25,10 @@ errcode_t ext2fs_read_dir_block2(ext2_filsys fs, blk_t block,
25 errcode_t retval; 25 errcode_t retval;
26 char *p, *end; 26 char *p, *end;
27 struct ext2_dir_entry *dirent; 27 struct ext2_dir_entry *dirent;
28 unsigned int name_len, rec_len, do_swap; 28 unsigned int name_len, rec_len;
29 29#ifdef EXT2FS_ENABLE_SWAPFS
30 unsigned int do_swap;
31#endif
30 32
31 retval = io_channel_read_blk(fs->io, block, 1, buf); 33 retval = io_channel_read_blk(fs->io, block, 1, buf);
32 if (retval) 34 if (retval)