aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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
commit1f2dc40ede8b144a7fec53562518c72664d0da9a (patch)
tree982032e259ad008d23498d23e4a41d7d8b72d3e4
parentb32b1db9d8dda5ca774b338270042e1ee89bfa3e (diff)
downloadbusybox-w32-1f2dc40ede8b144a7fec53562518c72664d0da9a.tar.gz
busybox-w32-1f2dc40ede8b144a7fec53562518c72664d0da9a.tar.bz2
busybox-w32-1f2dc40ede8b144a7fec53562518c72664d0da9a.zip
data --> bss
-rw-r--r--util-linux/mkfs_minix.c22
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
195static char *device_name = NULL; 195static char *device_name;
196static int DEV = -1; 196static int DEV = -1;
197static uint32_t BLOCKS = 0; 197static uint32_t BLOCKS;
198static int check = 0; 198static int check;
199static int badblocks = 0; 199static int badblocks;
200static int namelen = 30; /* default (changed to 30, per Linus's 200static 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) */
203static int dirsize = 32; 203static int dirsize = 32;
204static int magic = MINIX_SUPER_MAGIC2; 204static int magic = MINIX_SUPER_MAGIC2;
205static int version2 = 0; 205static int version2;
206 206
207static char root_block[BLOCK_SIZE] = "\0"; 207static char root_block[BLOCK_SIZE];
208 208
209static char *inode_buffer = NULL; 209static 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;
234static char *zone_map; 234static char *zone_map;
235 235
236static unsigned short good_blocks_table[MAX_GOOD_BLOCKS]; 236static unsigned short good_blocks_table[MAX_GOOD_BLOCKS];
237static int used_good_blocks = 0; 237static int used_good_blocks;
238static unsigned long req_nr_inodes = 0; 238static unsigned long req_nr_inodes;
239 239
240static inline int bit(char * a,unsigned int i) 240static 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
635static unsigned int currently_testing = 0; 635static unsigned int currently_testing;
636 636
637static void alarm_intr(int alnum) 637static 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}