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 --- editors/cmp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'editors/cmp.c') diff --git a/editors/cmp.c b/editors/cmp.c index 384e57c22..0cb80f21e 100644 --- a/editors/cmp.c +++ b/editors/cmp.c @@ -24,9 +24,9 @@ #include "libbb.h" static const char fmt_eof[] ALIGN1 = "cmp: EOF on %s\n"; -static const char fmt_differ[] ALIGN1 = "%s %s differ: char %"OFF_FMT"d, line %d\n"; -// This fmt_l_opt uses gnu-isms. SUSv3 would be "%.0s%.0s%"OFF_FMT"d %o %o\n" -static const char fmt_l_opt[] ALIGN1 = "%.0s%.0s%"OFF_FMT"d %3o %3o\n"; +static const char fmt_differ[] ALIGN1 = "%s %s differ: char %"OFF_FMT"u, line %u\n"; +// This fmt_l_opt uses gnu-isms. SUSv3 would be "%.0s%.0s%"OFF_FMT"u %o %o\n" +static const char fmt_l_opt[] ALIGN1 = "%.0s%.0s%"OFF_FMT"u %3o %3o\n"; static const char opt_chars[] ALIGN1 = "sl"; #define CMP_OPT_s (1<<0) -- cgit v1.2.3