global cleanup to use the new syscall interface
[musl] / src / unistd / linkat.c
index 0eb5122..6a9a0b7 100644 (file)
@@ -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);
 }