Fix invocation of udev_init
authorJeremy Kerr <jk@ozlabs.org>
Tue, 16 Dec 2008 00:07:49 +0000 (11:07 +1100)
committerJeremy Kerr <jk@ozlabs.org>
Tue, 16 Dec 2008 00:07:49 +0000 (11:07 +1100)
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
discover/pb-discover.c

index 63aaf0089543965a228849dcdccadceaa16c02fe..d2ea7ae1e7b075691e708d4b72f8d94a6557050a 100644 (file)
@@ -27,7 +27,7 @@ int main(void)
 
        discover_server_set_device_source(server, handler);
 
 
        discover_server_set_device_source(server, handler);
 
-       udev = udev_init();
+       udev = udev_init(handler);
        if (!udev)
                return EXIT_FAILURE;
 
        if (!udev)
                return EXIT_FAILURE;