summaryrefslogtreecommitdiff
path: root/coreutils/wc.c
diff options
context:
space:
mode:
authorDenis Vlasenko2008-02-19 00:38:10 +0000
committerDenis Vlasenko2008-02-19 00:38:10 +0000
commite8419c90f1f3880f96ff335c4ee0bdd7a86ab0c6 (patch)
tree2d316d993abf38208f190454e84e9da50c31aadd /coreutils/wc.c
parent5233cd38003724fad3b4355174d367337f5a3d49 (diff)
downloadbusybox-e8419c90f1f3880f96ff335c4ee0bdd7a86ab0c6.zip
busybox-e8419c90f1f3880f96ff335c4ee0bdd7a86ab0c6.tar.gz
tail: fix "tail -c 20 /dev/huge_disk" (was taking ages)
tail: a few variables renamed wc: tiny optimization.
Diffstat (limited to 'coreutils/wc.c')
-rw-r--r--coreutils/wc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/wc.c b/coreutils/wc.c
index 291af41..58ea1c7 100644
--- a/coreutils/wc.c
+++ b/coreutils/wc.c
@@ -73,7 +73,7 @@ int wc_main(int argc, char **argv)
{
FILE *fp;
const char *s, *arg;
- const char *start_fmt = "%9"COUNT_FMT;
+ const char *start_fmt = " %9"COUNT_FMT + 1;
const char *fname_fmt = " %s\n";
COUNT_T *pcounts;
COUNT_T counts[4];