diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-30 17:57:03 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-30 17:57:03 +0000 |
commit | 3bba545a54addf59b63a003e7ada03fd8b29b5ba (patch) | |
tree | 948ce196f871abcf9410ca1521a3d2a5af6a3082 /util-linux | |
parent | b5a122b6f9643fb052d31390e435397960289154 (diff) | |
download | busybox-3bba545a54addf59b63a003e7ada03fd8b29b5ba.tar.gz |
done a dozen of randconfig test. guess what? ALL failed...
these are resulting fixes
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/fdisk.c | 2 | ||||
-rw-r--r-- | util-linux/mkfs_minix.c | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index 84538af99..64ebb60e3 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c @@ -2797,7 +2797,6 @@ int fdisk_main(int argc, char **argv) { char *str_b, *str_C, *str_H, *str_S; unsigned opt; - int c; /* * fdisk -v * fdisk -l [-b sectorsize] [-u] device ... @@ -2921,6 +2920,7 @@ int fdisk_main(int argc, char **argv) } while (1) { + int c; putchar('\n'); c = tolower(read_nonempty(_("Command (m for help): "))); switch (c) { diff --git a/util-linux/mkfs_minix.c b/util-linux/mkfs_minix.c index 263013af9..89874b6b8 100644 --- a/util-linux/mkfs_minix.c +++ b/util-linux/mkfs_minix.c @@ -453,6 +453,8 @@ static void make_bad_inode2(void) if (dind) write_block(dind, (char *) dind_block); } +#else +void make_bad_inode2(void); #endif static void make_root_inode(void) @@ -499,6 +501,8 @@ static void make_root_inode2(void) inode->i_gid = GETGID; write_block(inode->i_zone[0], root_block); } +#else +void make_root_inode2(void); #endif static void setup_tables(void) |