Skip to content
Snippets Groups Projects
Commit 43f32cde authored by Timo Teräs's avatar Timo Teräs
Browse files

abuild-tar: fix splice arguments

parent ed2733c6
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment