aboutsummaryrefslogtreecommitdiff
path: root/archival/tar.c
diff options
context:
space:
mode:
Diffstat (limited to 'archival/tar.c')
-rw-r--r--archival/tar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/tar.c b/archival/tar.c
index b6c2ef91e..93d5fbd45 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -526,7 +526,7 @@ static inline int writeTarFile(const char *tarName, const int verboseFlag,
526 while (1) { 526 while (1) {
527 char buf; 527 char buf;
528 528
529 int n = read(gzipStatusPipe[0], &buf, 1); 529 int n = bb_full_read(gzipStatusPipe[0], &buf, 1);
530 530
531 if (n == 0 && vfork_exec_errno != 0) { 531 if (n == 0 && vfork_exec_errno != 0) {
532 errno = vfork_exec_errno; 532 errno = vfork_exec_errno;