X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Funistd%2Fpipe.c;h=d07b8d24ae3b1f55126700e64994ab55d453fb16;hb=e364774d7ca0a78db1b8457d5094b747eb2df318;hp=36c6f13e7a1684acb6340f4e59338d99fd9fcf32;hpb=aa398f56fa398f2202b04e82c67f822f3233786f;p=musl diff --git a/src/unistd/pipe.c b/src/unistd/pipe.c index 36c6f13e..d07b8d24 100644 --- a/src/unistd/pipe.c +++ b/src/unistd/pipe.c @@ -3,5 +3,9 @@ int pipe(int fd[2]) { +#ifdef SYS_pipe return syscall(SYS_pipe, fd); +#else + return syscall(SYS_pipe2, fd, 0); +#endif }