diff options
Diffstat (limited to 'misc/tune2fs.c')
-rw-r--r-- | misc/tune2fs.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/misc/tune2fs.c b/misc/tune2fs.c index 30348857..3f7e7e75 100644 --- a/misc/tune2fs.c +++ b/misc/tune2fs.c @@ -348,7 +348,6 @@ static void update_feature_set(ext2_filsys fs, char *features) { struct ext2_super_block *sb = fs->super; struct ext2_group_desc *gd; - errcode_t retval; __u32 old_features[3]; int i, type_err; unsigned int mask_err; @@ -992,7 +991,7 @@ static void parse_extended_opts(ext2_filsys fs, const char *opts) "Extended mount options too long\n"); continue; } - strcpy(fs->super->s_mount_opts, arg); + strcpy((char *)fs->super->s_mount_opts, arg); ext2fs_mark_super_dirty(fs); } else r_usage++; @@ -1097,7 +1096,7 @@ static int move_block(ext2_filsys fs, ext2fs_block_bitmap bmap) { char *buf; - dgrp_t group; + dgrp_t group = 0; errcode_t retval; int meta_data = 0; blk64_t blk, new_blk, goal; |