diff --git a/source/lib/replace/replace.c b/source/lib/replace/replace.c index 83d7948dfb2..9e6c75bd358 100644 --- a/source/lib/replace/replace.c +++ b/source/lib/replace/replace.c @@ -608,6 +608,6 @@ int rep_socketpair(int d, int type, int protocol, int sv[2]) return -1; } - return pipe(sock); + return pipe(sv); } #endif