summaryrefslogtreecommitdiffstats
path: root/cmds/dumpstate
diff options
context:
space:
mode:
authorNick Vaccaro <nvaccaro@google.com>2014-04-30 20:35:15 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-04-30 20:35:15 +0000
commit45fcfb48ef9e65747e7a3f35e1a4da232f6e161a (patch)
treea638f7c2c0c9e09919e41ce9fcf1dd2f5b00afe0 /cmds/dumpstate
parentb009280d5acb85a7c7e51daf52a9834ba63a8ae7 (diff)
parent85453ecc90a94564e586f0f97c9ec2c0cf831501 (diff)
downloadframeworks_native-45fcfb48ef9e65747e7a3f35e1a4da232f6e161a.zip
frameworks_native-45fcfb48ef9e65747e7a3f35e1a4da232f6e161a.tar.gz
frameworks_native-45fcfb48ef9e65747e7a3f35e1a4da232f6e161a.tar.bz2
am 85453ecc: dumpstate: increase poll timeout waiting for SIGQUIT logging
* commit '85453ecc90a94564e586f0f97c9ec2c0cf831501': dumpstate: increase poll timeout waiting for SIGQUIT logging
Diffstat (limited to 'cmds/dumpstate')
-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 670e09c..ef5072a 100644
--- a/cmds/dumpstate/utils.c
+++ b/cmds/dumpstate/utils.c
@@ -548,7 +548,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) {