diff options
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) |