chiark / gitweb /
udev_db: escape path names with \x00 instead of %00
[elogind.git] / udevstart.c
index 6ea18272ea013a0788571dfa546e51c89ce7bc71..a381c411a80f437157ed38a622723f52ba531041 100644 (file)
@@ -120,7 +120,7 @@ static int add_device(const char *devpath)
        if (dev == NULL)
                return -1;
 
-       udev = udev_device_init();
+       udev = udev_device_init(NULL);
        if (udev == NULL)
                return -1;