uloop: add missing waker_pipe initialization
authorFelix Fietkau <nbd@nbd.name>
Wed, 15 Jun 2016 13:14:51 +0000 (15:14 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 15 Jun 2016 13:14:51 +0000 (15:14 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
uloop.c

diff --git a/uloop.c b/uloop.c
index 2612fbdbc8ee4e9a6bce75bca8bb52f74199e6a1..e60fb09705aa8c0dc4768127eeac09f5298ee9e8 100644 (file)
--- a/uloop.c
+++ b/uloop.c
@@ -105,6 +105,7 @@ static int waker_init(void)
 
        waker_init_fd(fds[0]);
        waker_init_fd(fds[1]);
+       waker_pipe = fds[1];
 
        waker_fd.fd = fds[0];
        waker_fd.cb = waker_consume;