diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2013-05-19 20:06:29 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2013-05-19 20:06:29 +0200 |
commit | d3b966a93f176ce669f228b0d0dad0b9682c3e11 (patch) | |
tree | 67ca692bdbc27dbd54c5d23aab76ede4509fa2c5 | |
parent | ce3b2c80a1396725b354d41ce76378d61eed1913 (diff) | |
download | tdv-d3b966a93f176ce669f228b0d0dad0b9682c3e11.tar.gz tdv-d3b966a93f176ce669f228b0d0dad0b9682c3e11.tar.xz tdv-d3b966a93f176ce669f228b0d0dad0b9682c3e11.zip |
Fix a 100% CPU usage bug
-rw-r--r-- | src/sdtui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sdtui.c b/src/sdtui.c index 285cd9c..502aec3 100644 --- a/src/sdtui.c +++ b/src/sdtui.c @@ -1139,7 +1139,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS while (TRUE) { - if (poll_restart (pollfd, 3, -1) == -1) + if (poll_restart (pollfd, 2, -1) == -1) abort (); if ((pollfd[0].revents & POLLIN) |