projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
global cleanup to use the new syscall interface
[musl]
/
src
/
unistd
/
writev.c
diff --git
a/src/unistd/writev.c
b/src/unistd/writev.c
index
a6a118a
..
a45afeb
100644
(file)
--- 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 = syscall
3(__NR_writev, fd, (long)
iov, count);
+ r = syscall
(SYS_writev, fd,
iov, count);
CANCELPT_END;
return r;
}