summaryrefslogtreecommitdiff
path: root/src/unistd/symlinkat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/symlinkat.c')
-rw-r--r--src/unistd/symlinkat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/symlinkat.c b/src/unistd/symlinkat.c
index 9693b226..d1c59b4d 100644
--- a/src/unistd/symlinkat.c
+++ b/src/unistd/symlinkat.c
@@ -3,5 +3,5 @@
int symlinkat(const char *existing, int fd, const char *new)
{
- return syscall3(__NR_symlinkat, (long)existing, fd, (long)new);
+ return syscall(SYS_symlinkat, existing, fd, new);
}