X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Flinux%2Fsendfile.c;h=818b19d31d4018257e99cfbb9a178cf3f551834f;hb=21f01e1bf951dc3c543bb53de4d001dd4194da84;hp=bfbc40ae61d4da817ae7784527fa056dabb1e31f;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl 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);