summaryrefslogtreecommitdiff
path: root/tar
diff options
context:
space:
mode:
Diffstat (limited to 'tar')
-rw-r--r--tar/tar2sqfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tar/tar2sqfs.c b/tar/tar2sqfs.c
index 81eb2e4..627cae9 100644
--- a/tar/tar2sqfs.c
+++ b/tar/tar2sqfs.c
@@ -383,6 +383,8 @@ static int process_tar_ball(void)
goto fail;
if (skip_entry(STDIN_FILENO, hdr.sb.st_size))
goto fail;
+
+ clear_header(&hdr);
continue;
}