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