about summary refs log tree commit diff
path: root/src/unistd/readlinkat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/readlinkat.c')
-rw-r--r--src/unistd/readlinkat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/readlinkat.c b/src/unistd/readlinkat.c
index 8171050d..9565b89a 100644
--- a/src/unistd/readlinkat.c
+++ b/src/unistd/readlinkat.c
@@ -3,5 +3,5 @@
 
 int readlinkat(int fd, const char *path, char *buf, size_t bufsize)
 {
-	return syscall4(__NR_readlinkat, fd, (long)path, (long)buf, bufsize);
+	return syscall(SYS_readlinkat, fd, path, buf, bufsize);
 }