From d3b966a93f176ce669f228b0d0dad0b9682c3e11 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Sun, 19 May 2013 20:06:29 +0200
Subject: Fix a 100% CPU usage bug
---
src/sdtui.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'src')
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)
--
cgit v1.2.3-70-g09d2