lib/waiter: Add timeout waiters
[petitboot] / discover / user-event.c
index 23842e1343315a0017df1513e7838d8463ca25fd..013357b49bff6340f671af561d0cb25ec12a18fc 100644 (file)
@@ -158,7 +158,8 @@ struct user_event *user_event_init(struct waitset *waitset,
                        strerror(errno));
        }
 
-       waiter_register(waitset, uev->socket, WAIT_IN, user_event_process, uev);
+       waiter_register_io(waitset, uev->socket, WAIT_IN,
+                       user_event_process, uev);
 
        pb_log("%s: waiting on %s\n", __func__, PBOOT_USER_EVENT_SOCKET);