summaryrefslogtreecommitdiff
path: root/udevtest.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2005-11-05 20:00:31 +0100
committerKay Sievers <kay.sievers@suse.de>2005-11-05 20:00:31 +0100
commit287814b23cd564043391ce449f27e6ccd9d244e4 (patch)
treef55b43012e145fbcfa3cbaf9945cadfe4a45c531 /udevtest.c
parent3904a7581776cffc7ddaf4adbfbea8a57ab1adaa (diff)
remove precompiled rules option
It was a workaround for speed up udev "coldplug", where ~800 events happened a second time during bootup. No need for it with the rules aleady parsed in the daemon. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
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 6e973e31e6..4890b6837c 100644
--- a/udevtest.c
+++ b/udevtest.c
@@ -92,7 +92,7 @@ int main(int argc, char *argv[], char *envp[])
info("looking at device '%s' from subsystem '%s'", devpath, subsystem);
/* initialize the naming deamon */
- udev_rules_init(&rules, 0, 0);
+ udev_rules_init(&rules, 0);
/* fill in values and test_run flag*/
udev_init_device(&udev, devpath, subsystem, "add");