From aa398f56fa398f2202b04e82c67f822f3233786f Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sun, 20 Mar 2011 00:16:43 -0400 Subject: global cleanup to use the new syscall interface --- src/unistd/writev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/unistd/writev.c') 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; } -- cgit v1.2.1