diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 1997-09-14 19:02:13 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1997-09-14 19:02:13 +0000 |
commit | a3dd501081da104602684c3041f96f6edb57dd96 (patch) | |
tree | 841d93bc91b575a2a46251682d29d2f7f1ddca45 /usr.bin/tail/forward.c | |
parent | acb902182fa413a29d4f2835eaa6094609158198 (diff) |
In these days, waiting one full second for more to appear is far too long.
Let's try 250ms.
Notes
Notes:
svn path=/head/; revision=29402
Diffstat (limited to 'usr.bin/tail/forward.c')
-rw-r--r-- | usr.bin/tail/forward.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tail/forward.c b/usr.bin/tail/forward.c index b9457afbb0cf..dd754189d843 100644 --- a/usr.bin/tail/forward.c +++ b/usr.bin/tail/forward.c @@ -178,8 +178,8 @@ forward(fp, style, off, sbp) break; /* Sleep(3) is eight system calls. Do it fast. */ - second.tv_sec = 1; - second.tv_usec = 0; + second.tv_sec = 0; + second.tv_usec = 250000; if (select(0, NULL, NULL, NULL, &second) == -1) if (errno != EINTR) err(1, "select"); |