diff options
-rw-r--r-- | util-linux/fsck_minix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/fsck_minix.c b/util-linux/fsck_minix.c index e93b007f8..db44848b8 100644 --- a/util-linux/fsck_minix.c +++ b/util-linux/fsck_minix.c | |||
@@ -215,7 +215,6 @@ static int changed; /* flags if the filesystem has been changed */ | |||
215 | static int errors_uncorrected; /* flag if some error was not corrected */ | 215 | static int errors_uncorrected; /* flag if some error was not corrected */ |
216 | static int dirsize = 16; | 216 | static int dirsize = 16; |
217 | static int namelen = 14; | 217 | static int namelen = 14; |
218 | static int version2; | ||
219 | static struct termios termios; | 218 | static struct termios termios; |
220 | static int termios_set; | 219 | static int termios_set; |
221 | 220 | ||
@@ -227,6 +226,7 @@ static char super_block_buffer[BLOCK_SIZE]; | |||
227 | #define Super (*(struct minix_super_block *)super_block_buffer) | 226 | #define Super (*(struct minix_super_block *)super_block_buffer) |
228 | #define INODES ((unsigned long)Super.s_ninodes) | 227 | #define INODES ((unsigned long)Super.s_ninodes) |
229 | #ifdef CONFIG_FEATURE_MINIX2 | 228 | #ifdef CONFIG_FEATURE_MINIX2 |
229 | static int version2; | ||
230 | #define ZONES ((unsigned long)(version2 ? Super.s_zones : Super.s_nzones)) | 230 | #define ZONES ((unsigned long)(version2 ? Super.s_zones : Super.s_nzones)) |
231 | #else | 231 | #else |
232 | #define ZONES ((unsigned long)(Super.s_nzones)) | 232 | #define ZONES ((unsigned long)(Super.s_nzones)) |