summaryrefslogtreecommitdiff
path: root/src/unistd/readv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/readv.c')
-rw-r--r--src/unistd/readv.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/unistd/readv.c b/src/unistd/readv.c
index 9b87728e..e45cb484 100644
--- a/src/unistd/readv.c
+++ b/src/unistd/readv.c
@@ -4,9 +4,5 @@
ssize_t readv(int fd, const struct iovec *iov, int count)
{
- ssize_t r;
- CANCELPT_BEGIN;
- r = syscall(SYS_readv, fd, iov, count);
- CANCELPT_END;
- return r;
+ return syscall_cp(SYS_readv, fd, iov, count);
}