summaryrefslogtreecommitdiff
path: root/test/test-udev.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-udev.c')
-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);