summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source4/lib/replace/replace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/replace/replace.c b/source4/lib/replace/replace.c
index 83d7948dfb2..9e6c75bd358 100644
--- a/source4/lib/replace/replace.c
+++ b/source4/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