X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Funistd%2Fpwrite.c;fp=src%2Funistd%2Fpwrite.c;h=c4d3aff557234b1bf434c31106cb25344067dba0;hb=685e40bb09f5f24a2af54ea09c97328808f76990;hp=56ed6b4c47d71c8a144398f19fa03b25ba948596;hpb=462dbfc20788a6c9dd1ea4bb1cef086aa189615a;p=musl diff --git a/src/unistd/pwrite.c b/src/unistd/pwrite.c index 56ed6b4c..c4d3aff5 100644 --- a/src/unistd/pwrite.c +++ b/src/unistd/pwrite.c @@ -6,7 +6,7 @@ ssize_t pwrite(int fd, const void *buf, size_t size, off_t ofs) { ssize_t r; CANCELPT_BEGIN; - r = syscall5(__NR_pwrite, fd, (long)buf, size, SYSCALL_LL(ofs)); + r = syscall(__NR_pwrite, fd, buf, size, __SYSCALL_LL(ofs)); CANCELPT_END; return r; }