summaryrefslogtreecommitdiffstats
path: root/osdep/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/io.c')
-rw-r--r--osdep/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/io.c b/osdep/io.c
index 00715288a9..7c46dd47ab 100644
--- a/osdep/io.c
+++ b/osdep/io.c
@@ -65,7 +65,7 @@ int mp_make_cloexec_pipe(int pipes[2])
#ifdef __MINGW32__
int mp_make_wakeup_pipe(int pipes[2])
{
- mp_make_cloexec_pipe(pipes);
+ return mp_make_cloexec_pipe(pipes);
}
#else
// create a pipe, and set it to non-blocking (and also set FD_CLOEXEC)