diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-09-27 14:20:47 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-09-27 14:20:47 +0400 |
commit | 4daad9004d8f07991516970a1cbd77756fae7041 (patch) | |
tree | f1a17e4b168ef8fdf8af92ac5ce8deba89d38db2 /coreutils/uname.c | |
parent | 1acdc89e992eb3f0548ff48ba586b31c9a0ae232 (diff) |
introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).
Diffstat (limited to 'coreutils/uname.c')
-rw-r--r-- | coreutils/uname.c | 4 |
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) if (toprint & 1) { printf(((char *)(&uname_info)) + *delta); if (toprint > 1) { - putchar(' '); + bb_putchar(' '); } } ++delta; } while (toprint >>= 1); - putchar('\n'); + bb_putchar('\n'); fflush_stdout_and_exit(EXIT_SUCCESS); } |