summaryrefslogtreecommitdiff
path: root/udevstart.c
diff options
context:
space:
mode:
Diffstat (limited to 'udevstart.c')
-rw-r--r--udevstart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udevstart.c b/udevstart.c
index 6ea18272ea..a381c411a8 100644
--- a/udevstart.c
+++ b/udevstart.c
@@ -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;