aboutsummaryrefslogtreecommitdiff
path: root/coreutils/yes.c
diff options
context:
space:
mode:
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;