summaryrefslogtreecommitdiff
path: root/test
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 /test
parent5fe138cdda4eb51036062b4bddce258fe97e7b68 (diff)
src/udev: update the definition of udev_event_execute_rule
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'test')
-rw-r--r--test/test-udev.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/test/test-udev.c b/test/test-udev.c
index 92ea765f2f..b59a7969ad 100644
--- a/test/test-udev.c
+++ b/test/test-udev.c
@@ -160,8 +160,14 @@ int main(int argc, char *argv[]) {
}
}
- udev_event_execute_rules(event, 3 * USEC_PER_SEC, USEC_PER_SEC, rules, &sigmask_orig);
- udev_event_execute_run(event, 3 * USEC_PER_SEC, USEC_PER_SEC, NULL);
+ udev_event_execute_rules(event,
+ 3 * USEC_PER_SEC, USEC_PER_SEC,
+ NULL,
+ rules,
+ &sigmask_orig);
+ udev_event_execute_run(event,
+ 3 * USEC_PER_SEC, USEC_PER_SEC,
+ NULL);
out:
if (event != NULL && event->fd_signal >= 0)
close(event->fd_signal);