projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
forgot about avn add... :(
[oweals/busybox.git]
/
miscutils
/
readahead.c
diff --git
a/miscutils/readahead.c
b/miscutils/readahead.c
index 49cd7fd09da42a67b52856c39ad51c2682bc4f13..356c404511441d6e40de61b31d5fddd033941567 100644
(file)
--- a/
miscutils/readahead.c
+++ b/
miscutils/readahead.c
@@
-20,7
+20,7
@@
int readahead_main(int argc, char **argv)
if (argc == 1) bb_show_usage();
while (*++argv) {
- if ((f =
bb_wfope
n(*argv, "r")) != NULL) {
+ if ((f =
fopen_or_war
n(*argv, "r")) != NULL) {
int r, fd=fileno(f);
r = readahead(fd, 0, fdlength(fd));