global cleanup to use the new syscall interface
[musl] / src / unistd / symlink.c
index 8d380d8..5902d45 100644 (file)
@@ -3,5 +3,5 @@
 
 int symlink(const char *existing, const char *new)
 {
 
 int symlink(const char *existing, const char *new)
 {
-       return syscall2(__NR_symlink, (long)existing, (long)new);
+       return syscall(SYS_symlink, existing, new);
 }
 }