diff options
Diffstat (limited to 'util-linux/fdisk.c')
-rw-r--r-- | util-linux/fdisk.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index 7981abc9f..9f30571e9 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c | |||
@@ -892,7 +892,7 @@ list_types(const char *const *sys) | |||
892 | next = ++done; | 892 | next = ++done; |
893 | } | 893 | } |
894 | } while (done < last[0]); | 894 | } while (done < last[0]); |
895 | putchar('\n'); | 895 | bb_putchar('\n'); |
896 | } | 896 | } |
897 | #endif /* FEATURE_FDISK_WRITABLE */ | 897 | #endif /* FEATURE_FDISK_WRITABLE */ |
898 | 898 | ||
@@ -2473,13 +2473,13 @@ print_buffer(char *pbuffer) | |||
2473 | printf("0x%03X:", i); | 2473 | printf("0x%03X:", i); |
2474 | printf(" %02X", (unsigned char) pbuffer[i]); | 2474 | printf(" %02X", (unsigned char) pbuffer[i]); |
2475 | if (l == MAX_PER_LINE - 1) { | 2475 | if (l == MAX_PER_LINE - 1) { |
2476 | puts(""); | 2476 | bb_putchar('\n'); |
2477 | l = -1; | 2477 | l = -1; |
2478 | } | 2478 | } |
2479 | } | 2479 | } |
2480 | if (l > 0) | 2480 | if (l > 0) |
2481 | puts(""); | 2481 | bb_putchar('\n'); |
2482 | puts(""); | 2482 | bb_putchar('\n'); |
2483 | } | 2483 | } |
2484 | 2484 | ||
2485 | static void | 2485 | static void |
@@ -2527,7 +2527,7 @@ xselect(void) | |||
2527 | char c; | 2527 | char c; |
2528 | 2528 | ||
2529 | while (1) { | 2529 | while (1) { |
2530 | putchar('\n'); | 2530 | bb_putchar('\n'); |
2531 | c = tolower(read_nonempty("Expert command (m for help): ")); | 2531 | c = tolower(read_nonempty("Expert command (m for help): ")); |
2532 | switch (c) { | 2532 | switch (c) { |
2533 | case 'a': | 2533 | case 'a': |
@@ -2588,7 +2588,7 @@ xselect(void) | |||
2588 | break; | 2588 | break; |
2589 | case 'q': | 2589 | case 'q': |
2590 | close(fd); | 2590 | close(fd); |
2591 | puts(""); | 2591 | bb_putchar('\n'); |
2592 | exit(0); | 2592 | exit(0); |
2593 | case 'r': | 2593 | case 'r': |
2594 | return; | 2594 | return; |
@@ -2867,7 +2867,7 @@ int fdisk_main(int argc, char **argv) | |||
2867 | 2867 | ||
2868 | while (1) { | 2868 | while (1) { |
2869 | int c; | 2869 | int c; |
2870 | putchar('\n'); | 2870 | bb_putchar('\n'); |
2871 | c = tolower(read_nonempty("Command (m for help): ")); | 2871 | c = tolower(read_nonempty("Command (m for help): ")); |
2872 | switch (c) { | 2872 | switch (c) { |
2873 | case 'a': | 2873 | case 'a': |
@@ -2947,7 +2947,7 @@ int fdisk_main(int argc, char **argv) | |||
2947 | break; | 2947 | break; |
2948 | case 'q': | 2948 | case 'q': |
2949 | close(fd); | 2949 | close(fd); |
2950 | puts(""); | 2950 | bb_putchar('\n'); |
2951 | return 0; | 2951 | return 0; |
2952 | case 's': | 2952 | case 's': |
2953 | #if ENABLE_FEATURE_SUN_LABEL | 2953 | #if ENABLE_FEATURE_SUN_LABEL |