summaryrefslogtreecommitdiff
path: root/abuild-tar.c
diff options
context:
space:
mode:
Diffstat (limited to 'abuild-tar.c')
-rw-r--r--abuild-tar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/abuild-tar.c b/abuild-tar.c
index 858b6ad..c652e04 100644
--- a/abuild-tar.c
+++ b/abuild-tar.c
@@ -153,7 +153,7 @@ static ssize_t full_splice(int from_fd, int to_fd, size_t count)
total = 0;
do {
- n = splice(from_fd, NULL, to_fd, count, 0);
+ n = splice(from_fd, NULL, to_fd, NULL, count, 0);
if (n < 0 && errno == EINTR)
continue;
if (n <= 0)