aboutsummaryrefslogtreecommitdiff
path: root/coreutils/uname.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-09-27 10:20:47 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-09-27 10:20:47 +0000
commit4daad9004d8f07991516970a1cbd77756fae7041 (patch)
treef1a17e4b168ef8fdf8af92ac5ce8deba89d38db2 /coreutils/uname.c
parent1acdc89e992eb3f0548ff48ba586b31c9a0ae232 (diff)
downloadbusybox-w32-4daad9004d8f07991516970a1cbd77756fae7041.tar.gz
busybox-w32-4daad9004d8f07991516970a1cbd77756fae7041.tar.bz2
busybox-w32-4daad9004d8f07991516970a1cbd77756fae7041.zip
introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).
Diffstat (limited to 'coreutils/uname.c')
-rw-r--r--coreutils/uname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/uname.c b/coreutils/uname.c
index e4724c8f1..e70b1f9b6 100644
--- a/coreutils/uname.c
+++ b/coreutils/uname.c
@@ -91,12 +91,12 @@ int uname_main(int argc, char **argv)
91 if (toprint & 1) { 91 if (toprint & 1) {
92 printf(((char *)(&uname_info)) + *delta); 92 printf(((char *)(&uname_info)) + *delta);
93 if (toprint > 1) { 93 if (toprint > 1) {
94 putchar(' '); 94 bb_putchar(' ');
95 } 95 }
96 } 96 }
97 ++delta; 97 ++delta;
98 } while (toprint >>= 1); 98 } while (toprint >>= 1);
99 putchar('\n'); 99 bb_putchar('\n');
100 100
101 fflush_stdout_and_exit(EXIT_SUCCESS); 101 fflush_stdout_and_exit(EXIT_SUCCESS);
102} 102}