diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-26 23:21:47 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-26 23:21:47 +0000 |
commit | f0ed376eda5d5c25d270e5100a881fb2d801bee6 (patch) | |
tree | 79166b700c497fbe798b6031e5bbff97e0933573 /coreutils/wc.c | |
parent | 670a6626cabc1498f32b35f959591f8621d8447e (diff) | |
download | busybox-w32-f0ed376eda5d5c25d270e5100a881fb2d801bee6.tar.gz busybox-w32-f0ed376eda5d5c25d270e5100a881fb2d801bee6.tar.bz2 busybox-w32-f0ed376eda5d5c25d270e5100a881fb2d801bee6.zip |
remove bb_printf and the like
Diffstat (limited to 'coreutils/wc.c')
-rw-r--r-- | coreutils/wc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/wc.c b/coreutils/wc.c index 359d9fd6d..ebae5f69f 100644 --- a/coreutils/wc.c +++ b/coreutils/wc.c | |||
@@ -182,12 +182,12 @@ int wc_main(int argc, char **argv) | |||
182 | u = 0; | 182 | u = 0; |
183 | do { | 183 | do { |
184 | if (print_type & (1 << u)) { | 184 | if (print_type & (1 << u)) { |
185 | bb_printf(s, pcounts[u]); | 185 | printf(s, pcounts[u]); |
186 | s = " %9"COUNT_FMT; /* Ok... restore the leading space. */ | 186 | s = " %9"COUNT_FMT; /* Ok... restore the leading space. */ |
187 | } | 187 | } |
188 | totals[u] += pcounts[u]; | 188 | totals[u] += pcounts[u]; |
189 | } while (++u < 4); | 189 | } while (++u < 4); |
190 | bb_printf(fname_fmt, arg); | 190 | printf(fname_fmt, arg); |
191 | } | 191 | } |
192 | 192 | ||
193 | /* If more than one file was processed, we want the totals. To save some | 193 | /* If more than one file was processed, we want the totals. To save some |
@@ -202,5 +202,5 @@ int wc_main(int argc, char **argv) | |||
202 | goto OUTPUT; | 202 | goto OUTPUT; |
203 | } | 203 | } |
204 | 204 | ||
205 | bb_fflush_stdout_and_exit(status); | 205 | fflush_stdout_and_exit(status); |
206 | } | 206 | } |