diff options
author | Denis Vlasenko | 2007-09-27 10:20:47 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-09-27 10:20:47 +0000 |
commit | 4daad9004d8f07991516970a1cbd77756fae7041 (patch) | |
tree | f1a17e4b168ef8fdf8af92ac5ce8deba89d38db2 /util-linux/fdisk_osf.c | |
parent | 1acdc89e992eb3f0548ff48ba586b31c9a0ae232 (diff) | |
download | busybox-4daad9004d8f07991516970a1cbd77756fae7041.zip busybox-4daad9004d8f07991516970a1cbd77756fae7041.tar.gz |
introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).
Diffstat (limited to 'util-linux/fdisk_osf.c')
-rw-r--r-- | util-linux/fdisk_osf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util-linux/fdisk_osf.c b/util-linux/fdisk_osf.c index f6486d5..7261382 100644 --- a/util-linux/fdisk_osf.c +++ b/util-linux/fdisk_osf.c @@ -394,7 +394,7 @@ bsd_select(void) #endif while (1) { - putchar('\n'); + bb_putchar('\n'); switch (tolower(read_nonempty("BSD disklabel command (m for help): "))) { case 'd': xbsd_delete_part(); @@ -521,7 +521,7 @@ xbsd_print_disklabel(int show_all) printf(" ecc"); if (lp->d_flags & BSD_D_BADSECT) printf(" badsect"); - puts(""); + bb_putchar('\n'); /* On various machines the fields of *lp are short/int/long */ /* In order to avoid problems, we cast them all to long. */ printf("bytes/sector: %ld\n", (long) lp->d_secsize); @@ -588,7 +588,7 @@ xbsd_print_disklabel(int show_all) printf("%22.22s", ""); break; } - puts(""); + bb_putchar('\n'); } } } |