summaryrefslogtreecommitdiff
path: root/src/unistd/readlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/readlink.c')
-rw-r--r--src/unistd/readlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/readlink.c b/src/unistd/readlink.c
index f6b1635c..11f45c01 100644
--- a/src/unistd/readlink.c
+++ b/src/unistd/readlink.c
@@ -3,5 +3,5 @@
int readlink(const char *path, char *buf, size_t bufsize)
{
- return syscall3(__NR_readlink, (long)path, (long)buf, bufsize);
+ return syscall(SYS_readlink, path, buf, bufsize);
}