summaryrefslogtreecommitdiff
path: root/coreutils/yes.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-10-26 23:21:47 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-10-26 23:21:47 +0000
commitf0ed376eda5d5c25d270e5100a881fb2d801bee6 (patch)
tree79166b700c497fbe798b6031e5bbff97e0933573 /coreutils/yes.c
parent670a6626cabc1498f32b35f959591f8621d8447e (diff)
downloadbusybox-w32-f0ed376eda5d5c25d270e5100a881fb2d801bee6.tar.gz
busybox-w32-f0ed376eda5d5c25d270e5100a881fb2d801bee6.tar.bz2
busybox-w32-f0ed376eda5d5c25d270e5100a881fb2d801bee6.zip
remove bb_printf and the like
Diffstat (limited to 'coreutils/yes.c')
-rw-r--r--coreutils/yes.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/coreutils/yes.c b/coreutils/yes.c
index 97b4fe54c..894506a89 100644
--- a/coreutils/yes.c
+++ b/coreutils/yes.c
@@ -14,8 +14,6 @@
14 * Size reductions and removed redundant applet name prefix from error messages. 14 * Size reductions and removed redundant applet name prefix from error messages.
15 */ 15 */
16 16
17#include <stdio.h>
18#include <stdlib.h>
19#include "busybox.h" 17#include "busybox.h"
20 18
21int yes_main(int argc, char **argv) 19int yes_main(int argc, char **argv)
@@ -33,7 +31,7 @@ int yes_main(int argc, char **argv)
33 do { 31 do {
34 fmt = fmt_str + 1; 32 fmt = fmt_str + 1;
35 do { 33 do {
36 bb_printf(fmt, *argv); 34 printf(fmt, *argv);
37 fmt = fmt_str; 35 fmt = fmt_str;
38 } while (*++argv); 36 } while (*++argv);
39 argv = first_arg; 37 argv = first_arg;