summaryrefslogtreecommitdiff
path: root/src/unistd/linkat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/linkat.c')
-rw-r--r--src/unistd/linkat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/linkat.c b/src/unistd/linkat.c
index 0eb51221..6a9a0b77 100644
--- a/src/unistd/linkat.c
+++ b/src/unistd/linkat.c
@@ -3,5 +3,5 @@
int linkat(int fd1, const char *existing, int fd2, const char *new, int flag)
{
- return syscall5(__NR_linkat, fd1, (long)existing, fd2, (long)new, flag);
+ return syscall(SYS_linkat, fd1, existing, fd2, new, flag);
}