summaryrefslogtreecommitdiff
path: root/udev_start.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev_start.c')
-rw-r--r--udev_start.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_start.c b/udev_start.c
index 1a86163cd5..8c7a06b5af 100644
--- a/udev_start.c
+++ b/udev_start.c
@@ -105,7 +105,7 @@ static int add_device(char *devpath, char *subsystem)
return -ENODEV;
}
- udev_set_values(&udev, devpath, subsystem, "add");
+ udev_init_device(&udev, devpath, subsystem);
udev_add_device(&udev, class_dev);
/* run dev.d/ scripts if we created a node or changed a netif name */