summaryrefslogtreecommitdiff
path: root/udevstart.c
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2005-03-29 11:25:52 +0200
committerGreg KH <gregkh@suse.de>2005-04-26 23:55:00 -0700
commitfb39f0566e248c09772ed15a3218ef2381700b6a (patch)
treea4c9599e64e6e0a635314ac4faf77625752338ef /udevstart.c
parent7ff56624f84d1616470ab6cbeab17c1367e775d7 (diff)
[PATCH] move execute_program to utils + add action to init_device
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 a862dadf88..4bd4795874 100644
--- a/udevstart.c
+++ b/udevstart.c
@@ -123,7 +123,7 @@ static int add_device(const char *path, const char *subsystem)
return -ENODEV;
}
- udev_init_device(&udev, devpath, subsystem);
+ udev_init_device(&udev, devpath, subsystem, "add");
udev_add_device(&udev, class_dev);
/* run dev.d/ scripts if we created a node or changed a netif name */