summaryrefslogtreecommitdiff
path: root/udevsettle.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-04-06 19:46:24 +0200
committerKay Sievers <kay.sievers@suse.de>2006-04-06 19:46:24 +0200
commitfc8ec932580698a2a4274204029aebb937000c70 (patch)
treee9368ca4ffa0121329e304a626d4a5334ea2868c /udevsettle.c
parenta4d5ca644ed8bc59274967c17981d7448a075c07 (diff)
set default udevsettle timeout to 3 minutes
Diffstat (limited to 'udevsettle.c')
-rw-r--r--udevsettle.c3
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;