X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Funistd%2Fwritev.c;h=a45afeb757af56b1ac21c10e901bb47e656d65b4;hb=3910e93340990a8107d9d9d1e8d5e9102817315f;hp=a6a118af786f7f88c9c3021b4cdb37b9ea53a0f9;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl diff --git a/src/unistd/writev.c b/src/unistd/writev.c index a6a118af..a45afeb7 100644 --- a/src/unistd/writev.c +++ b/src/unistd/writev.c @@ -6,7 +6,7 @@ ssize_t writev(int fd, const struct iovec *iov, int count) { ssize_t r; CANCELPT_BEGIN; - r = syscall3(__NR_writev, fd, (long)iov, count); + r = syscall(SYS_writev, fd, iov, count); CANCELPT_END; return r; }