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/read.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/unistd/read.c') diff --git a/src/unistd/read.c b/src/unistd/read.c index 87ff1f10..194b389e 100644 --- a/src/unistd/read.c +++ b/src/unistd/read.c @@ -6,7 +6,7 @@ ssize_t read(int fd, void *buf, size_t count) { ssize_t r; CANCELPT_BEGIN; - r = __syscall_read(fd, buf, count); + r = syscall(SYS_read, fd, buf, count); CANCELPT_END; return r; } -- cgit v1.2.1