From 318f80d113ee116507572f16bfa4ed9a2143b958 Mon Sep 17 00:00:00 2001 From: Ryan Walklin Date: Thu, 17 Aug 2017 12:21:01 +1000 Subject: [PATCH] Fix EventPipe file descriptors --- src/system/EventPipe.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }