add and consolidate nasty stdio_ext junk
[oweals/musl.git] / src / unistd / link.c
index f121bb9e350ae3e7ebdb27858aab857b1edf8b58..20193f2ac831b5e72e3f8d92aa9a54ba5b94bda0 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);
 }