diff options
author | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2005-10-15 13:56:17 +0000 |
---|---|---|
committer | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2005-10-15 13:56:17 +0000 |
commit | 1f2dc40ede8b144a7fec53562518c72664d0da9a (patch) | |
tree | 982032e259ad008d23498d23e4a41d7d8b72d3e4 | |
parent | b32b1db9d8dda5ca774b338270042e1ee89bfa3e (diff) | |
download | busybox-w32-1f2dc40ede8b144a7fec53562518c72664d0da9a.tar.gz busybox-w32-1f2dc40ede8b144a7fec53562518c72664d0da9a.tar.bz2 busybox-w32-1f2dc40ede8b144a7fec53562518c72664d0da9a.zip |
data --> bss
-rw-r--r-- | util-linux/mkfs_minix.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/util-linux/mkfs_minix.c b/util-linux/mkfs_minix.c index 264569a94..b1d538dcc 100644 --- a/util-linux/mkfs_minix.c +++ b/util-linux/mkfs_minix.c | |||
@@ -192,21 +192,21 @@ struct minix_dir_entry { | |||
192 | 192 | ||
193 | #define BITS_PER_BLOCK (BLOCK_SIZE<<3) | 193 | #define BITS_PER_BLOCK (BLOCK_SIZE<<3) |
194 | 194 | ||
195 | static char *device_name = NULL; | 195 | static char *device_name; |
196 | static int DEV = -1; | 196 | static int DEV = -1; |
197 | static uint32_t BLOCKS = 0; | 197 | static uint32_t BLOCKS; |
198 | static int check = 0; | 198 | static int check; |
199 | static int badblocks = 0; | 199 | static int badblocks; |
200 | static int namelen = 30; /* default (changed to 30, per Linus's | 200 | static int namelen = 30; /* default (changed to 30, per Linus's |
201 | 201 | ||
202 | suggestion, Sun Nov 21 08:05:07 1993) */ | 202 | suggestion, Sun Nov 21 08:05:07 1993) */ |
203 | static int dirsize = 32; | 203 | static int dirsize = 32; |
204 | static int magic = MINIX_SUPER_MAGIC2; | 204 | static int magic = MINIX_SUPER_MAGIC2; |
205 | static int version2 = 0; | 205 | static int version2; |
206 | 206 | ||
207 | static char root_block[BLOCK_SIZE] = "\0"; | 207 | static char root_block[BLOCK_SIZE]; |
208 | 208 | ||
209 | static char *inode_buffer = NULL; | 209 | static char *inode_buffer; |
210 | 210 | ||
211 | #define Inode (((struct minix_inode *) inode_buffer)-1) | 211 | #define Inode (((struct minix_inode *) inode_buffer)-1) |
212 | #ifdef CONFIG_FEATURE_MINIX2 | 212 | #ifdef CONFIG_FEATURE_MINIX2 |
@@ -234,8 +234,8 @@ static char *inode_map; | |||
234 | static char *zone_map; | 234 | static char *zone_map; |
235 | 235 | ||
236 | static unsigned short good_blocks_table[MAX_GOOD_BLOCKS]; | 236 | static unsigned short good_blocks_table[MAX_GOOD_BLOCKS]; |
237 | static int used_good_blocks = 0; | 237 | static int used_good_blocks; |
238 | static unsigned long req_nr_inodes = 0; | 238 | static unsigned long req_nr_inodes; |
239 | 239 | ||
240 | static inline int bit(char * a,unsigned int i) | 240 | static inline int bit(char * a,unsigned int i) |
241 | { | 241 | { |
@@ -632,7 +632,7 @@ static inline long do_check(char *buffer, int try, unsigned int current_block) | |||
632 | return got; | 632 | return got; |
633 | } | 633 | } |
634 | 634 | ||
635 | static unsigned int currently_testing = 0; | 635 | static unsigned int currently_testing; |
636 | 636 | ||
637 | static void alarm_intr(int alnum) | 637 | static void alarm_intr(int alnum) |
638 | { | 638 | { |
@@ -847,6 +847,6 @@ goodbye: | |||
847 | } | 847 | } |
848 | mark_good_blocks(); | 848 | mark_good_blocks(); |
849 | write_tables(); | 849 | write_tables(); |
850 | return( 0); | 850 | return 0; |
851 | 851 | ||
852 | } | 852 | } |