summaryrefslogtreecommitdiff
path: root/tar/sqfs2tar.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-10-07 15:18:03 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-10-07 15:18:36 +0200
commit81b8461306e684371e4de1d6491b24a1f7e1d5d3 (patch)
tree78e677da14523d216ddc63f650a56d5a14c30972 /tar/sqfs2tar.c
parent3ac100ddf7527882159665c97eed60fc442299de (diff)
Cleanup: move write_data to libtar
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tar/sqfs2tar.c')
-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,