Fix invocation of udev_init
[petitboot] / discover / pb-discover.c
index 63aaf0089543965a228849dcdccadceaa16c02fe..d2ea7ae1e7b075691e708d4b72f8d94a6557050a 100644 (file)
@@ -27,7 +27,7 @@ int main(void)
 
        discover_server_set_device_source(server, handler);
 
-       udev = udev_init();
+       udev = udev_init(handler);
        if (!udev)
                return EXIT_FAILURE;