From a3aa3e309506ea96fa8f7546f6b22fa85263a934 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 11 Dec 2009 12:36:10 +0100 Subject: 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 --- util-linux/more.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util-linux/more.c') 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) if (input != 'r' && please_display_more_prompt) { len = printf("--More-- "); if (st.st_size > 0) { - len += printf("(%d%% of %"OFF_FMT"d bytes)", + len += printf("(%u%% of %"OFF_FMT"u bytes)", (int) (ftello(file)*100 / st.st_size), st.st_size); } -- cgit v1.2.3