diff options
author | Denis Vlasenko | 2008-02-19 00:38:10 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-02-19 00:38:10 +0000 |
commit | e8419c90f1f3880f96ff335c4ee0bdd7a86ab0c6 (patch) | |
tree | 2d316d993abf38208f190454e84e9da50c31aadd /coreutils/wc.c | |
parent | 5233cd38003724fad3b4355174d367337f5a3d49 (diff) | |
download | busybox-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.c | 2 |
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]; |