aboutsummaryrefslogtreecommitdiffstats
path: root/src/vu-repeat.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/vu-repeat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vu-repeat.c b/src/vu-repeat.c
index 3561644..2eba566 100644
--- a/src/vu-repeat.c
+++ b/src/vu-repeat.c
@@ -46,6 +46,7 @@ main(int argc, char *argv[])
eprintf("<stdout>:");
while (count--) {
+ posix_fadvise(stream.fd, 0, 0, POSIX_FADV_SEQUENTIAL);
for (ptw = 0; ptw < stream.ptr;) {
r = write(STDOUT_FILENO, stream.buf + ptw, stream.ptr - ptw);
if (r < 0)