diff options
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 | } |