X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=miscutils%2Freadahead.c;h=49cd7fd09da42a67b52856c39ad51c2682bc4f13;hb=7d219aab70e6951ab82c27c202cac05016696723;hp=8221bb4beb3b24d67dbe70974d74f1a6305d90bd;hpb=1ffe1ede543ff1155b02c5a578fc21a881ac8c00;p=oweals%2Fbusybox.git diff --git a/miscutils/readahead.c b/miscutils/readahead.c index 8221bb4be..49cd7fd09 100644 --- a/miscutils/readahead.c +++ b/miscutils/readahead.c @@ -22,7 +22,7 @@ int readahead_main(int argc, char **argv) while (*++argv) { if ((f = bb_wfopen(*argv, "r")) != NULL) { int r, fd=fileno(f); - + r = readahead(fd, 0, fdlength(fd)); fclose(f); if (r >= 0) continue;