summaryrefslogtreecommitdiff
path: root/udevtest.c
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-11-12 06:17:35 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 22:24:10 -0700
commitc6478ec1e128f0a92c2123ed110a651b88d43569 (patch)
treecfefe6c87301604bb838f1a5eb566f1206d975d2 /udevtest.c
parent31fd340352236c06c30a85fa9fbdbfbbd10bd439 (diff)
[PATCH] add ACTION to udev object to expose it to the whole process
Diffstat (limited to 'udevtest.c')
-rw-r--r--udevtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udevtest.c b/udevtest.c
index 8af2120fb1..e67af0df67 100644
--- a/udevtest.c
+++ b/udevtest.c
@@ -103,7 +103,7 @@ int main(int argc, char *argv[], char *envp[])
subsystem = argv[2];
/* fill in values and test_run flag*/
- udev_set_values(&udev, devpath, subsystem);
+ udev_set_values(&udev, devpath, subsystem, "add");
/* open the device */
snprintf(path, SYSFS_PATH_MAX, "%s%s", sysfs_path, udev.devpath);