aboutsummaryrefslogtreecommitdiff
path: root/networking/hostname.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 /networking/hostname.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 'networking/hostname.c')
-rw-r--r--networking/hostname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/hostname.c b/networking/hostname.c
index 95dc4515d..6783dbacb 100644
--- a/networking/hostname.c
+++ b/networking/hostname.c
@@ -83,7 +83,7 @@ int hostname_main(int argc, char **argv)
83 while (hp->h_addr_list[0]) { 83 while (hp->h_addr_list[0]) {
84 printf("%s ", inet_ntoa(*(struct in_addr *) (*hp->h_addr_list++))); 84 printf("%s ", inet_ntoa(*(struct in_addr *) (*hp->h_addr_list++)));
85 } 85 }
86 puts(""); 86 bb_putchar('\n');
87 } 87 }
88 } 88 }
89 /* Set the hostname */ 89 /* Set the hostname */