about summary refs log tree commit diff
path: root/src/unistd/link.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/link.c')
-rw-r--r--src/unistd/link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/link.c b/src/unistd/link.c
index f121bb9e..20193f2a 100644
--- a/src/unistd/link.c
+++ b/src/unistd/link.c
@@ -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);
 }