diff options
Diffstat (limited to 'src/unistd/writev.c')
-rw-r--r-- | src/unistd/writev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/writev.c b/src/unistd/writev.c index a6a118af..a45afeb7 100644 --- 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 = syscall3(__NR_writev, fd, (long)iov, count); + r = syscall(SYS_writev, fd, iov, count); CANCELPT_END; return r; } |