am 85453ecc: dumpstate: increase poll timeout waiting for SIGQUIT logging

* commit '85453ecc90a94564e586f0f97c9ec2c0cf831501':
  dumpstate: increase poll timeout waiting for SIGQUIT logging
This commit is contained in:
Nick Vaccaro 2014-04-30 20:35:15 +00:00 committed by Android Git Automerger
commit 45fcfb48ef
1 changed files with 1 additions and 1 deletions

View File

@ -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) {