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 /coreutils/id.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 'coreutils/id.c')
-rw-r--r-- | coreutils/id.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/id.c b/coreutils/id.c index 1cc8c4d..536e946 100644 --- a/coreutils/id.c +++ b/coreutils/id.c @@ -102,7 +102,7 @@ int id_main(int argc, char **argv) /* Print full info like GNU id */ /* bb_getpwuid(0) doesn't exit on failure (returns NULL) */ status = printf_full(uid, bb_getpwuid(NULL, 0, uid), 'u'); - putchar(' '); + bb_putchar(' '); status |= printf_full(gid, bb_getgrgid(NULL, 0, gid), 'g'); #if ENABLE_SELINUX @@ -121,6 +121,6 @@ int id_main(int argc, char **argv) } #endif - putchar('\n'); + bb_putchar('\n'); fflush_stdout_and_exit(status); } |