diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-09-27 10:20:47 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-09-27 10:20:47 +0000 |
commit | 4daad9004d8f07991516970a1cbd77756fae7041 (patch) | |
tree | f1a17e4b168ef8fdf8af92ac5ce8deba89d38db2 /networking/ether-wake.c | |
parent | 1acdc89e992eb3f0548ff48ba586b31c9a0ae232 (diff) | |
download | busybox-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/ether-wake.c')
-rw-r--r-- | networking/ether-wake.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ether-wake.c b/networking/ether-wake.c index 36713837a..fc26ad07d 100644 --- a/networking/ether-wake.c +++ b/networking/ether-wake.c | |||
@@ -92,7 +92,7 @@ void bb_debug_dump_packet(unsigned char *outpack, int pktsize) | |||
92 | printf("packet dump:\n"); | 92 | printf("packet dump:\n"); |
93 | for (i = 0; i < pktsize; ++i) { | 93 | for (i = 0; i < pktsize; ++i) { |
94 | printf("%2.2x ", outpack[i]); | 94 | printf("%2.2x ", outpack[i]); |
95 | if (i % 20 == 19) puts(""); | 95 | if (i % 20 == 19) bb_putchar('\n'); |
96 | } | 96 | } |
97 | printf("\n\n"); | 97 | printf("\n\n"); |
98 | } | 98 | } |