aboutsummaryrefslogtreecommitdiff
path: root/tar
diff options
context:
space:
mode:
Diffstat (limited to 'tar')
-rw-r--r--tar/sqfs2tar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tar/sqfs2tar.c b/tar/sqfs2tar.c
index aaef0f7..ec1deac 100644
--- a/tar/sqfs2tar.c
+++ b/tar/sqfs2tar.c
@@ -175,8 +175,8 @@ static int terminate_archive(void)
memset(buffer, '\0', sizeof(buffer));
- return write_data("adding archive terminator", STDOUT_FILENO,
- buffer, sizeof(buffer));
+ return write_retry("adding archive terminator", STDOUT_FILENO,
+ buffer, sizeof(buffer));
}
static int get_xattrs(const char *name, const sqfs_inode_generic_t *inode,