aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-12-11 12:36:10 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-12-11 12:36:10 +0100
commita3aa3e309506ea96fa8f7546f6b22fa85263a934 (patch)
treecd6d4adeafec55e230e2d56499df8f0c3cbf47e1 /archival
parent4662de0511487b4da965c4b2158bae318f3d80a8 (diff)
downloadbusybox-a3aa3e309506ea96fa8f7546f6b22fa85263a934.tar.gz
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 'archival')
-rw-r--r--archival/tar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/tar.c b/archival/tar.c
index c12331c83..d6c44a7b7 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -336,7 +336,7 @@ static int writeTarHeader(struct TarBallInfo *tbInfo,
&& statbuf->st_size > (off_t)0777777777777LL
) {
bb_error_msg_and_die("can't store file '%s' "
- "of size %"OFF_FMT"d, aborting",
+ "of size %"OFF_FMT"u, aborting",
fileName, statbuf->st_size);
}
header.typeflag = REGTYPE;