commit 57687d7078733c2da65765e4c6d5e7dd0df5976f
parent f6b36a2be1ac77f2b60119fb92ae7d7aa0466ebb
Author: Christoph Lohmann <20h@r-36.net>
Date: Tue, 1 Mar 2011 15:29:33 +0100
Prevening some wakeups.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nlmon.c b/nlmon.c
@@ -141,7 +141,7 @@ main(int argc, char *argv[])
fds[0].events = POLLIN|POLLPRI;
for(;;) {
- ret = poll(fds, 1, 500);
+ ret = poll(fds, 1, -1);
if (ret > 0) {
if ((fds[0].revents & POLLIN) \
|| (fds[0].revents & POLLPRI)) {