lib/waiter: Add timeout waiters
[petitboot] / ui / common / discover-client.c
index a40bfdafe0ce669b1d832f5d95d90f50267eadc8..107d0314d2de24f563e6c87bbe0d66ec4f733330 100644 (file)
@@ -215,8 +215,8 @@ struct discover_client* discover_client_init(struct waitset *waitset,
                goto out_err;
        }
 
-       waiter_register(waitset, client->fd, WAIT_IN, discover_client_process,
-                       client);
+       waiter_register_io(waitset, client->fd, WAIT_IN,
+                       discover_client_process, client);
 
        return client;