diff options
Diffstat (limited to 'usr.bin/tail/forward.c')
-rw-r--r-- | usr.bin/tail/forward.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/tail/forward.c b/usr.bin/tail/forward.c index ea14f80..1c4020d 100644 --- a/usr.bin/tail/forward.c +++ b/usr.bin/tail/forward.c @@ -177,11 +177,7 @@ forward(fp, style, off, sbp) if (!fflag) break; - interval.tv_sec = 0; - interval.tv_usec = 250000; - if (select(0, NULL, NULL, NULL, &interval) == -1) - if (errno != EINTR) - err(1, "select"); + (void) usleep(250000); clearerr(fp); } } |