From 43f32cdeef07eb33aee2c9b87fb51849faf093a3 Mon Sep 17 00:00:00 2001 From: Timo Teras Date: Tue, 21 Jul 2009 12:32:25 +0300 Subject: abuild-tar: fix splice arguments --- abuild-tar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3