diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-11 12:36:10 +0100 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-11 12:36:10 +0100 |
| commit | a3aa3e309506ea96fa8f7546f6b22fa85263a934 (patch) | |
| tree | cd6d4adeafec55e230e2d56499df8f0c3cbf47e1 /util-linux | |
| parent | 4662de0511487b4da965c4b2158bae318f3d80a8 (diff) | |
| download | busybox-w32-a3aa3e309506ea96fa8f7546f6b22fa85263a934.tar.gz busybox-w32-a3aa3e309506ea96fa8f7546f6b22fa85263a934.tar.bz2 busybox-w32-a3aa3e309506ea96fa8f7546f6b22fa85263a934.zip | |
wget: check for close success; fix chunked; do not bother to send QUIT to ftp
Also, random fixes to use %u for unsigned quantities. -14 bytes in wget.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
| -rw-r--r-- | util-linux/more.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/more.c b/util-linux/more.c index 555f033d4..076b40057 100644 --- a/util-linux/more.c +++ b/util-linux/more.c | |||
| @@ -110,7 +110,7 @@ int more_main(int argc UNUSED_PARAM, char **argv) | |||
| 110 | if (input != 'r' && please_display_more_prompt) { | 110 | if (input != 'r' && please_display_more_prompt) { |
| 111 | len = printf("--More-- "); | 111 | len = printf("--More-- "); |
| 112 | if (st.st_size > 0) { | 112 | if (st.st_size > 0) { |
| 113 | len += printf("(%d%% of %"OFF_FMT"d bytes)", | 113 | len += printf("(%u%% of %"OFF_FMT"u bytes)", |
| 114 | (int) (ftello(file)*100 / st.st_size), | 114 | (int) (ftello(file)*100 / st.st_size), |
| 115 | st.st_size); | 115 | st.st_size); |
| 116 | } | 116 | } |
