diff options
author | phk <phk@FreeBSD.org> | 1997-09-14 19:02:13 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1997-09-14 19:02:13 +0000 |
commit | a4e52dd09badd46f433280f9b392cff71bc7ddfe (patch) | |
tree | 644a1416ad54ee7ad88f39bf59da6f72be22a2f9 /usr.bin | |
parent | e7c3d728c1e204f878989ecf58b0052b331cc844 (diff) | |
download | FreeBSD-src-a4e52dd09badd46f433280f9b392cff71bc7ddfe.zip FreeBSD-src-a4e52dd09badd46f433280f9b392cff71bc7ddfe.tar.gz |
In these days, waiting one full second for more to appear is far too long.
Let's try 250ms.
Diffstat (limited to 'usr.bin')
-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 b9457af..dd75418 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"); |