aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util-linux/fsck_minix.c2
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 */
static int errors_uncorrected; /* flag if some error was not corrected */
static int dirsize = 16;
static int namelen = 14;
-static int version2;
static struct termios termios;
static int termios_set;
@@ -227,6 +226,7 @@ static char super_block_buffer[BLOCK_SIZE];
#define Super (*(struct minix_super_block *)super_block_buffer)
#define INODES ((unsigned long)Super.s_ninodes)
#ifdef CONFIG_FEATURE_MINIX2
+static int version2;
#define ZONES ((unsigned long)(version2 ? Super.s_zones : Super.s_nzones))
#else
#define ZONES ((unsigned long)(Super.s_nzones))