X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Funistd%2Fpread.c;h=0a0450130e892329c7d8f7c1677de3f4f094aee8;hb=19c1830eaaab05652d87b5ee9557d0d7a40c2f06;hp=534215acf31b986fe36ec1445469021b60818428;hpb=cfe373146d232d7c89a60920f77b9451bcfee96b;p=musl diff --git a/src/unistd/pread.c b/src/unistd/pread.c index 534215ac..0a045013 100644 --- a/src/unistd/pread.c +++ b/src/unistd/pread.c @@ -6,7 +6,7 @@ ssize_t pread(int fd, void *buf, size_t size, off_t ofs) { ssize_t r; CANCELPT_BEGIN; - r = syscall5(__NR_pread, fd, (long)buf, size, SYSCALL_LL(ofs)); + r = syscall(SYS_pread, fd, buf, size, __SYSCALL_LL(ofs)); CANCELPT_END; return r; }