summaryrefslogtreecommitdiff
path: root/src/unistd/dup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/dup.c')
-rw-r--r--src/unistd/dup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/dup.c b/src/unistd/dup.c
index b11cd715..7fee0120 100644
--- a/src/unistd/dup.c
+++ b/src/unistd/dup.c
@@ -3,5 +3,5 @@
int dup(int fd)
{
- return syscall1(__NR_dup, fd);
+ return syscall(SYS_dup, fd);
}