summaryrefslogtreecommitdiff
path: root/udevtest.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-04-21 19:00:54 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-04-21 19:00:54 +0200
commitbf50425b58da6f112197f79241dd6d64af2e9ea7 (patch)
tree2e3f961beaff4d62404ae9191c4c8a996f608cbc /udevtest.c
parent6b795c99e00c92dd29abafcc1022cace7bbcb795 (diff)
add OPTIONS+="event_timeout=<seconds>"
Diffstat (limited to 'udevtest.c')
-rw-r--r--udevtest.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/udevtest.c b/udevtest.c
index 8beba217ea..d5e90b02c6 100644
--- a/udevtest.c
+++ b/udevtest.c
@@ -183,6 +183,10 @@ int udevtest(int argc, char *argv[], char *envp[])
info("looking at device '%s' from subsystem '%s'\n", udev->dev->devpath, udev->dev->subsystem);
retval = udev_device_event(&rules, udev);
+
+ if (udev->event_timeout >= 0)
+ info("custom event timeout: %i\n", udev->event_timeout);
+
if (retval == 0 && !udev->ignore_device && udev_run) {
struct name_entry *name_loop;