summaryrefslogtreecommitdiffstats
path: root/cmds/dumpstate/utils.c
diff options
context:
space:
mode:
authorNick Vaccaro <nvaccaro@google.com>2014-04-30 23:35:03 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-04-30 23:35:03 +0000
commitbd81c258c2ac9f41a9263a20953d6f0f63a88887 (patch)
tree98285b7db6cf11e062e8a5ed269185e1cbea5485 /cmds/dumpstate/utils.c
parent39c5e9f87670a8bc543a716ac994c8c85ac94cd5 (diff)
parent45fcfb48ef9e65747e7a3f35e1a4da232f6e161a (diff)
downloadframeworks_native-bd81c258c2ac9f41a9263a20953d6f0f63a88887.zip
frameworks_native-bd81c258c2ac9f41a9263a20953d6f0f63a88887.tar.gz
frameworks_native-bd81c258c2ac9f41a9263a20953d6f0f63a88887.tar.bz2
am 45fcfb48: am 85453ecc: dumpstate: increase poll timeout waiting for SIGQUIT logging
* commit '45fcfb48ef9e65747e7a3f35e1a4da232f6e161a': dumpstate: increase poll timeout waiting for SIGQUIT logging
Diffstat (limited to 'cmds/dumpstate/utils.c')
-rw-r--r--cmds/dumpstate/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/dumpstate/utils.c b/cmds/dumpstate/utils.c
index 577d31c..6b119c3 100644
--- a/cmds/dumpstate/utils.c
+++ b/cmds/dumpstate/utils.c
@@ -587,7 +587,7 @@ const char *dump_traces() {
/* wait for the writable-close notification from inotify */
struct pollfd pfd = { ifd, POLLIN, 0 };
- int ret = poll(&pfd, 1, 200); /* 200 msec timeout */
+ int ret = poll(&pfd, 1, 5000); /* 5 sec timeout */
if (ret < 0) {
fprintf(stderr, "poll: %s\n", strerror(errno));
} else if (ret == 0) {