diff options
Diffstat (limited to 'util-linux/fdisk.c')
-rw-r--r-- | util-linux/fdisk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index e00f85864..c4318b6c4 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c | |||
@@ -644,7 +644,7 @@ read_line(const char *prompt) | |||
644 | { | 644 | { |
645 | int sz; | 645 | int sz; |
646 | 646 | ||
647 | sz = read_line_input(NULL, prompt, line_buffer, sizeof(line_buffer), /*timeout*/ -1); | 647 | sz = read_line_input(NULL, prompt, line_buffer, sizeof(line_buffer)); |
648 | if (sz <= 0) | 648 | if (sz <= 0) |
649 | exit(EXIT_SUCCESS); /* Ctrl-D or Ctrl-C */ | 649 | exit(EXIT_SUCCESS); /* Ctrl-D or Ctrl-C */ |
650 | 650 | ||
@@ -2848,7 +2848,7 @@ xselect(void) | |||
2848 | if (dos_compatible_flag) { | 2848 | if (dos_compatible_flag) { |
2849 | sector_offset = g_sectors; | 2849 | sector_offset = g_sectors; |
2850 | puts("Warning: setting sector offset for DOS " | 2850 | puts("Warning: setting sector offset for DOS " |
2851 | "compatiblity"); | 2851 | "compatibility"); |
2852 | } | 2852 | } |
2853 | update_units(); | 2853 | update_units(); |
2854 | break; | 2854 | break; |