projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fmemopen: fix eof handling, hopefully right this time
[oweals/musl.git]
/
src
/
linux
/
sendfile.c
diff --git
a/src/linux/sendfile.c
b/src/linux/sendfile.c
index bfbc40ae61d4da817ae7784527fa056dabb1e31f..818b19d31d4018257e99cfbb9a178cf3f551834f 100644
(file)
--- 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 syscall
4(__NR_sendfile, out_fd, in_fd, (long)
ofs, count);
+ return syscall
(SYS_sendfile, out_fd, in_fd,
ofs, count);
}
LFS64(sendfile);