X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Funistd%2Fdup2.c;h=7945f853cae600b317ebab09306c4a8df1d06aa4;hb=eb0e8fa0b1960cff4bd65ebefc798f70273b0bc9;hp=93325446739ca3db0acea5e0438ddf489ef5cfd0;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl 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); }