diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-26 00:37:00 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-26 00:37:00 +0000 |
commit | c6f188def8c5496dbd65c9be6ca3050286db7227 (patch) | |
tree | d8e1e56c728628c15f66cb88a6e54f368c806939 /util-linux | |
parent | e63a0dee9e559110bcaec494ae5e7fc78c4141c7 (diff) | |
download | busybox-w32-c6f188def8c5496dbd65c9be6ca3050286db7227.tar.gz busybox-w32-c6f188def8c5496dbd65c9be6ca3050286db7227.tar.bz2 busybox-w32-c6f188def8c5496dbd65c9be6ca3050286db7227.zip |
silly size savings and capitalization fixes
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/fdisk.c | 10 | ||||
-rw-r--r-- | util-linux/fdisk_osf.c | 4 | ||||
-rw-r--r-- | util-linux/fsck_minix.c | 4 | ||||
-rw-r--r-- | util-linux/getopt.c | 2 |
4 files changed, 10 insertions, 10 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index 3061f0d8d..40a8d1bae 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c | |||
@@ -2534,13 +2534,13 @@ print_buffer(char *pbuffer) | |||
2534 | printf("0x%03X:", i); | 2534 | printf("0x%03X:", i); |
2535 | printf(" %02X", (unsigned char) pbuffer[i]); | 2535 | printf(" %02X", (unsigned char) pbuffer[i]); |
2536 | if (l == MAX_PER_LINE - 1) { | 2536 | if (l == MAX_PER_LINE - 1) { |
2537 | printf("\n"); | 2537 | puts(""); |
2538 | l = -1; | 2538 | l = -1; |
2539 | } | 2539 | } |
2540 | } | 2540 | } |
2541 | if (l > 0) | 2541 | if (l > 0) |
2542 | printf("\n"); | 2542 | puts(""); |
2543 | printf("\n"); | 2543 | puts(""); |
2544 | } | 2544 | } |
2545 | 2545 | ||
2546 | 2546 | ||
@@ -2650,7 +2650,7 @@ xselect(void) | |||
2650 | break; | 2650 | break; |
2651 | case 'q': | 2651 | case 'q': |
2652 | close(fd); | 2652 | close(fd); |
2653 | printf("\n"); | 2653 | puts(""); |
2654 | exit(0); | 2654 | exit(0); |
2655 | case 'r': | 2655 | case 'r': |
2656 | return; | 2656 | return; |
@@ -3022,7 +3022,7 @@ int fdisk_main(int argc, char **argv) | |||
3022 | break; | 3022 | break; |
3023 | case 'q': | 3023 | case 'q': |
3024 | close(fd); | 3024 | close(fd); |
3025 | printf("\n"); | 3025 | puts(""); |
3026 | return 0; | 3026 | return 0; |
3027 | case 's': | 3027 | case 's': |
3028 | #ifdef CONFIG_FEATURE_SUN_LABEL | 3028 | #ifdef CONFIG_FEATURE_SUN_LABEL |
diff --git a/util-linux/fdisk_osf.c b/util-linux/fdisk_osf.c index 17267d54b..71cf138ee 100644 --- a/util-linux/fdisk_osf.c +++ b/util-linux/fdisk_osf.c | |||
@@ -512,7 +512,7 @@ xbsd_print_disklabel(int show_all) | |||
512 | printf(_(" ecc")); | 512 | printf(_(" ecc")); |
513 | if (lp->d_flags & BSD_D_BADSECT) | 513 | if (lp->d_flags & BSD_D_BADSECT) |
514 | printf(_(" badsect")); | 514 | printf(_(" badsect")); |
515 | printf("\n"); | 515 | puts(""); |
516 | /* On various machines the fields of *lp are short/int/long */ | 516 | /* On various machines the fields of *lp are short/int/long */ |
517 | /* In order to avoid problems, we cast them all to long. */ | 517 | /* In order to avoid problems, we cast them all to long. */ |
518 | printf(_("bytes/sector: %ld\n"), (long) lp->d_secsize); | 518 | printf(_("bytes/sector: %ld\n"), (long) lp->d_secsize); |
@@ -579,7 +579,7 @@ xbsd_print_disklabel(int show_all) | |||
579 | printf("%22.22s", ""); | 579 | printf("%22.22s", ""); |
580 | break; | 580 | break; |
581 | } | 581 | } |
582 | printf("\n"); | 582 | puts(""); |
583 | } | 583 | } |
584 | } | 584 | } |
585 | } | 585 | } |
diff --git a/util-linux/fsck_minix.c b/util-linux/fsck_minix.c index a2ca7a566..3ebc58b1f 100644 --- a/util-linux/fsck_minix.c +++ b/util-linux/fsck_minix.c | |||
@@ -322,12 +322,12 @@ static int ask(const char *string, int def) | |||
322 | int c; | 322 | int c; |
323 | 323 | ||
324 | if (!repair) { | 324 | if (!repair) { |
325 | printf("\n"); | 325 | puts(""); |
326 | errors_uncorrected = 1; | 326 | errors_uncorrected = 1; |
327 | return 0; | 327 | return 0; |
328 | } | 328 | } |
329 | if (automatic) { | 329 | if (automatic) { |
330 | printf("\n"); | 330 | puts(""); |
331 | if (!def) | 331 | if (!def) |
332 | errors_uncorrected = 1; | 332 | errors_uncorrected = 1; |
333 | return def; | 333 | return def; |
diff --git a/util-linux/getopt.c b/util-linux/getopt.c index 02bb218b3..17f3c4297 100644 --- a/util-linux/getopt.c +++ b/util-linux/getopt.c | |||
@@ -172,7 +172,7 @@ int generate_output(char * argv[],int argc,const char *optstr, | |||
172 | printf(" --"); | 172 | printf(" --"); |
173 | while (optind < argc) | 173 | while (optind < argc) |
174 | printf(" %s",normalize(argv[optind++])); | 174 | printf(" %s",normalize(argv[optind++])); |
175 | printf("\n"); | 175 | puts(""); |
176 | } | 176 | } |
177 | return exit_code; | 177 | return exit_code; |
178 | } | 178 | } |