about summary refs log tree commit diff
path: root/src/unistd/readv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/readv.c')
-rw-r--r--src/unistd/readv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/readv.c b/src/unistd/readv.c
index e311f9de..9b87728e 100644
--- a/src/unistd/readv.c
+++ b/src/unistd/readv.c
@@ -6,7 +6,7 @@ ssize_t readv(int fd, const struct iovec *iov, int count)
 {
 	ssize_t r;
 	CANCELPT_BEGIN;
-	r = syscall3(__NR_readv, fd, (long)iov, count);
+	r = syscall(SYS_readv, fd, iov, count);
 	CANCELPT_END;
 	return r;
 }