diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-10-07 15:18:03 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-10-07 15:18:36 +0200 |
commit | 81b8461306e684371e4de1d6491b24a1f7e1d5d3 (patch) | |
tree | 78e677da14523d216ddc63f650a56d5a14c30972 /tar | |
parent | 3ac100ddf7527882159665c97eed60fc442299de (diff) |
Cleanup: move write_data to libtar
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tar')
-rw-r--r-- | tar/sqfs2tar.c | 4 |
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, |