diff options
author | Kay Sievers <kay.sievers@suse.de> | 2006-04-06 19:46:24 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2006-04-06 19:46:24 +0200 |
commit | fc8ec932580698a2a4274204029aebb937000c70 (patch) | |
tree | e9368ca4ffa0121329e304a626d4a5334ea2868c | |
parent | a4d5ca644ed8bc59274967c17981d7448a075c07 (diff) |
set default udevsettle timeout to 3 minutes
-rw-r--r-- | udevsettle.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/udevsettle.c b/udevsettle.c index f0f85ff059..3215b3c5ba 100644 --- a/udevsettle.c +++ b/udevsettle.c @@ -33,6 +33,7 @@ #include "udev.h" #include "udevd.h" +#define DEFAULT_TIMEOUT 180 #define LOOP_PER_SECOND 20 static const char *udev_log_str; @@ -60,7 +61,7 @@ int main(int argc, char *argv[], char *envp[]) char seqnum[32]; int fd; ssize_t len; - int timeout = 30; + int timeout = DEFAULT_TIMEOUT; int loop; int i; int rc = 1; |