aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/fd_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fd_util.c b/src/fd_util.c
index 84e8c91d1..eb5c27df8 100644
--- a/src/fd_util.c
+++ b/src/fd_util.c
@@ -124,7 +124,7 @@ int
pipe_cloexec(int fd[2])
{
#ifdef WIN32
- return _pipe(event_pipe, 512, _O_BINARY);
+ return _pipe(fd, 512, _O_BINARY);
#else
int ret;
@@ -148,7 +148,7 @@ int
pipe_cloexec_nonblock(int fd[2])
{
#ifdef WIN32
- return _pipe(event_pipe, 512, _O_BINARY);
+ return _pipe(fd, 512, _O_BINARY);
#else
int ret;