summaryrefslogtreecommitdiff
path: root/src/unistd/read.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/read.c')
-rw-r--r--src/unistd/read.c2
1 files changed, 1 insertions, 1 deletions
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;
}