From aa398f56fa398f2202b04e82c67f822f3233786f Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sun, 20 Mar 2011 00:16:43 -0400 Subject: global cleanup to use the new syscall interface --- src/linux/sendfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/linux/sendfile.c') diff --git a/src/linux/sendfile.c b/src/linux/sendfile.c index bfbc40ae..818b19d3 100644 --- a/src/linux/sendfile.c +++ b/src/linux/sendfile.c @@ -4,7 +4,7 @@ ssize_t sendfile(int out_fd, int in_fd, off_t *ofs, size_t count) { - return syscall4(__NR_sendfile, out_fd, in_fd, (long)ofs, count); + return syscall(SYS_sendfile, out_fd, in_fd, ofs, count); } LFS64(sendfile); -- cgit v1.2.1