global cleanup to use the new syscall interface
[musl] / src / unistd / symlinkat.c
index 9693b22..d1c59b4 100644 (file)
@@ -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);
 }