Pass cb_arg to discover_client_init
[petitboot] / ui / test / pb-test.c
index b32944f0cbceac747a727e51bee959be3672ad2c..a1e3007c46ff8ddc21d9250d09f41c16d3c60130 100644 (file)
@@ -45,7 +45,7 @@ int main(void)
 {
        struct discover_client *client;
 
 {
        struct discover_client *client;
 
-       client = discover_client_init(&client_ops);
+       client = discover_client_init(&client_ops, NULL);
        if (!client)
                return -1;
 
        if (!client)
                return -1;