remove another invalid skip of locking in ungetwc
[oweals/musl.git] / src / unistd / writev.c
index a45afeb757af56b1ac21c10e901bb47e656d65b4..ef300ddf81a2b107f28e96d448647b1d9463f368 100644 (file)
@@ -4,9 +4,5 @@
 
 ssize_t writev(int fd, const struct iovec *iov, int count)
 {
-       ssize_t r;
-       CANCELPT_BEGIN;
-       r = syscall(SYS_writev, fd, iov, count);
-       CANCELPT_END;
-       return r;
+       return syscall_cp(SYS_writev, fd, iov, count);
 }