global cleanup to use the new syscall interface

This commit is contained in:
Rich Felker 2011-03-20 00:16:43 -04:00
commit aa398f56fa
160 changed files with 180 additions and 238 deletions

View file

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