summaryrefslogtreecommitdiff
path: root/lib/tar/padd_file.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 /lib/tar/padd_file.c
parent3ac100ddf7527882159665c97eed60fc442299de (diff)
Cleanup: move write_data to libtar
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/tar/padd_file.c')
-rw-r--r--lib/tar/padd_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tar/padd_file.c b/lib/tar/padd_file.c
index 471370d..f58cfbf 100644
--- a/lib/tar/padd_file.c
+++ b/lib/tar/padd_file.c
@@ -25,8 +25,8 @@ int padd_file(int outfd, sqfs_u64 size)
if (buffer == NULL)
goto fail_errno;
- if (write_data("padding output file to block size",
- outfd, buffer, padd_sz)) {
+ if (write_retry("padding output file to block size",
+ outfd, buffer, padd_sz)) {
goto out;
}