aboutsummaryrefslogtreecommitdiff
path: root/archival/tar.c
diff options
context:
space:
mode:
Diffstat (limited to 'archival/tar.c')
-rw-r--r--archival/tar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/archival/tar.c b/archival/tar.c
index 450402d3c..95982372d 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -331,7 +331,7 @@ static int writeTarHeader(struct TarBallInfo *tbInfo,
331 if (sizeof(statbuf->st_size) > 4 331 if (sizeof(statbuf->st_size) > 4
332 && statbuf->st_size > (off_t)0777777777777LL 332 && statbuf->st_size > (off_t)0777777777777LL
333 ) { 333 ) {
334 bb_error_msg_and_die("cannot store file '%s' " 334 bb_error_msg_and_die("can't store file '%s' "
335 "of size %"OFF_FMT"d, aborting", 335 "of size %"OFF_FMT"d, aborting",
336 fileName, statbuf->st_size); 336 fileName, statbuf->st_size);
337 } 337 }
@@ -598,7 +598,7 @@ static NOINLINE int writeTarFile(int tar_fd, int verboseFlag,
598 /* Store the stat info for the tarball's file, so 598 /* Store the stat info for the tarball's file, so
599 * can avoid including the tarball into itself.... */ 599 * can avoid including the tarball into itself.... */
600 if (fstat(tbInfo.tarFd, &tbInfo.statBuf) < 0) 600 if (fstat(tbInfo.tarFd, &tbInfo.statBuf) < 0)
601 bb_perror_msg_and_die("cannot stat tar file"); 601 bb_perror_msg_and_die("can't stat tar file");
602 602
603#if ENABLE_FEATURE_SEAMLESS_GZ || ENABLE_FEATURE_SEAMLESS_BZ2 603#if ENABLE_FEATURE_SEAMLESS_GZ || ENABLE_FEATURE_SEAMLESS_BZ2
604 if (gzip) 604 if (gzip)