summaryrefslogtreecommitdiff
path: root/src/udev/udevd.c
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2014-11-16 08:44:52 -0500
committerAnthony G. Basile <blueness@gentoo.org>2014-11-16 08:44:52 -0500
commitd3ef837153dc1523d30cb160abfc35ab189d26fa (patch)
tree8e549358d9b182abd9c4b48e17fd1fed9b575fed /src/udev/udevd.c
parent5fe138cdda4eb51036062b4bddce258fe97e7b68 (diff)
src/udev: update the definition of udev_event_execute_rule
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/udev/udevd.c')
-rw-r--r--src/udev/udevd.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
index 510712a1b9..f5e116623e 100644
--- a/src/udev/udevd.c
+++ b/src/udev/udevd.c
@@ -300,9 +300,15 @@ static void worker_new(struct event *event) {
}
/* apply rules, create node, symlinks */
- udev_event_execute_rules(udev_event, arg_event_timeout_usec, arg_event_timeout_warn_usec, rules, &sigmask_orig);
-
- udev_event_execute_run(udev_event, arg_event_timeout_usec, arg_event_timeout_warn_usec, &sigmask_orig);
+ udev_event_execute_rules(udev_event,
+ arg_event_timeout_usec, arg_event_timeout_warn_usec,
+ &properties_list,
+ rules,
+ &sigmask_orig);
+
+ udev_event_execute_run(udev_event,
+ arg_event_timeout_usec, arg_event_timeout_warn_usec,
+ &sigmask_orig);
/* apply/restore inotify watch */
if (udev_event->inotify_watch) {