Commit 43f32cde authored by Timo Teräs's avatar Timo Teräs

abuild-tar: fix splice arguments

parent ed2733c6
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment