summaryrefslogtreecommitdiff
path: root/lib/tar/padd_file.c
diff options
context:
space:
mode:
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;
}