summaryrefslogtreecommitdiff
path: root/e2fsprogs/ext2fs/dirblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'e2fsprogs/ext2fs/dirblock.c')
-rw-r--r--e2fsprogs/ext2fs/dirblock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/e2fsprogs/ext2fs/dirblock.c b/e2fsprogs/ext2fs/dirblock.c
index 43e8e6e..5d3f6a1 100644
--- a/e2fsprogs/ext2fs/dirblock.c
+++ b/e2fsprogs/ext2fs/dirblock.c
@@ -103,7 +103,7 @@ errcode_t ext2fs_write_dir_block2(ext2_filsys fs, blk_t block,
if ((dirent->rec_len < 8) ||
(dirent->rec_len % 4)) {
ext2fs_free_mem(&buf);
- return (EXT2_ET_DIR_CORRUPTED);
+ return EXT2_ET_DIR_CORRUPTED;
}
p += dirent->rec_len;
if (do_swap) {