summaryrefslogtreecommitdiff
path: root/src/unistd/dup2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/dup2.c')
-rw-r--r--src/unistd/dup2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/dup2.c b/src/unistd/dup2.c
index 93325446..7945f853 100644
--- a/src/unistd/dup2.c
+++ b/src/unistd/dup2.c
@@ -3,5 +3,5 @@
int dup2(int old, int new)
{
- return __syscall_dup2(old, new);
+ return syscall(SYS_dup2, old, new);
}