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/write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/unistd/write.c') diff --git a/src/unistd/write.c b/src/unistd/write.c index 426cfc5b..a8284b32 100644 --- a/src/unistd/write.c +++ b/src/unistd/write.c @@ -6,7 +6,7 @@ ssize_t write(int fd, const void *buf, size_t count) { int r; CANCELPT_BEGIN; - r = __syscall_write(fd, buf, count); + r = syscall(SYS_write, fd, buf, count); CANCELPT_END; return r; } -- cgit v1.2.1