diff options
author | Nick Vaccaro <nvaccaro@google.com> | 2014-04-30 20:35:15 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-04-30 20:35:15 +0000 |
commit | 45fcfb48ef9e65747e7a3f35e1a4da232f6e161a (patch) | |
tree | a638f7c2c0c9e09919e41ce9fcf1dd2f5b00afe0 /cmds/dumpstate | |
parent | b009280d5acb85a7c7e51daf52a9834ba63a8ae7 (diff) | |
parent | 85453ecc90a94564e586f0f97c9ec2c0cf831501 (diff) | |
download | frameworks_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.c | 2 |
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) { |