global cleanup to use the new syscall interface
[musl] / src / unistd / link.c
index f121bb9..20193f2 100644 (file)
@@ -3,5 +3,5 @@
 
 int link(const char *existing, const char *new)
 {
-       return syscall2(__NR_link, (long)existing, (long)new);
+       return syscall(SYS_link, existing, new);
 }