better poll logging

This commit is contained in:
Alexandre Ratchov 2016-01-29 12:12:19 +01:00
parent 96e51185e0
commit 74bbedaf28
1 changed files with 1 additions and 4 deletions

View File

@ -318,8 +318,6 @@ file_poll(void)
long long delta_nsec;
int nfds, res, timo;
log_flush();
/*
* cleanup zombies
*/
@ -355,8 +353,6 @@ file_poll(void)
log_puts("poll:");
pfd = pfds;
for (f = file_list; f != NULL; f = f->next) {
if (f->nfds == 0)
continue;
log_puts(" ");
log_puts(f->ops->name);
log_puts(":");
@ -396,6 +392,7 @@ file_poll(void)
timo = TIMER_MSEC;
} else
timo = -1;
log_flush();
res = poll(pfds, nfds, timo);
if (res < 0) {
if (errno != EINTR) {