summaryrefslogtreecommitdiff
path: root/src/system
diff options
context:
space:
mode:
Diffstat (limited to 'src/system')
-rw-r--r--src/system/EventPipe.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system/EventPipe.cxx b/src/system/EventPipe.cxx
index 8de9cecac..177e55347 100644
--- a/src/system/EventPipe.cxx
+++ b/src/system/EventPipe.cxx
@@ -48,7 +48,7 @@ EventPipe::EventPipe()
throw MakeErrno("pipe() has failed");
fds[0] = r.Steal();
- fds[1] = r.Steal();
+ fds[1] = w.Steal();
#endif
}