projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove another invalid skip of locking in ungetwc
[oweals/musl.git]
/
src
/
unistd
/
readv.c
diff --git
a/src/unistd/readv.c
b/src/unistd/readv.c
index e311f9de67f9997bba06ab3212d6963c33bbdd7a..e45cb484f09ae3d361824e160d75e3671fb5ae56 100644
(file)
--- 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 = syscall3(__NR_readv, fd, (long)iov, count);
- CANCELPT_END;
- return r;
+ return syscall_cp(SYS_readv, fd, iov, count);
}