summaryrefslogtreecommitdiff
path: root/src/system
diff options
context:
space:
mode:
authorRyan Walklin <ryan@testtoast.com>2017-08-17 12:21:01 +1000
committerRyan Walklin <ryan@testtoast.com>2017-08-17 12:21:01 +1000
commit318f80d113ee116507572f16bfa4ed9a2143b958 (patch)
tree035738c2255b8e9bb017ea3cbac6967db21aa571 /src/system
parent9df8b32f10a1b5a007f492981597abfb3f424e1b (diff)
Fix EventPipe file descriptors
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
}