diff options
author | Tom Gundersen <teg@jklm.no> | 2014-09-11 18:49:04 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-09-11 23:45:01 +0200 |
commit | 671174136525ddf208cdbe75d6d6bd159afa961f (patch) | |
tree | d320e6f6f180c05be42c5201d34abcc40c52776c /src/test | |
parent | e926f6475d2f7063f8190076a0dc9ff7ecb227c8 (diff) |
udev: timeout - warn after a third of the timeout before killing
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test-udev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test-udev.c b/src/test/test-udev.c index 566a73a066..f085262b01 100644 --- a/src/test/test-udev.c +++ b/src/test/test-udev.c @@ -153,8 +153,8 @@ int main(int argc, char *argv[]) { } } - udev_event_execute_rules(event, USEC_PER_SEC, rules, &sigmask_orig); - udev_event_execute_run(event, USEC_PER_SEC, NULL); + 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); out: if (event != NULL && event->fd_signal >= 0) close(event->fd_signal); |