abuild-tar: fix splice arguments

This commit is contained in:
Timo Teras 2009-07-21 12:32:25 +03:00
parent ed2733c65b
commit 43f32cdeef
1 changed files with 1 additions and 1 deletions

View File

@ -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)