aboutsummaryrefslogtreecommitdiff
path: root/miscutils/readahead.c
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2006-10-26 23:25:17 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2006-10-26 23:25:17 +0000
commitddec5af6b0803c7434a1cc2fdee5cb9873fe6bd0 (patch)
treef4f2aa58fa669aed6e2c50bb7aa648a79ec1873d /miscutils/readahead.c
parentf0ed376eda5d5c25d270e5100a881fb2d801bee6 (diff)
downloadbusybox-ddec5af6b0803c7434a1cc2fdee5cb9873fe6bd0.tar.gz
busybox-ddec5af6b0803c7434a1cc2fdee5cb9873fe6bd0.tar.bz2
rename functions to more understandable names
Diffstat (limited to 'miscutils/readahead.c')
-rw-r--r--miscutils/readahead.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/readahead.c b/miscutils/readahead.c
index 49cd7fd09..356c40451 100644
--- 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_wfopen(*argv, "r")) != NULL) {
+ if ((f = fopen_or_warn(*argv, "r")) != NULL) {
int r, fd=fileno(f);
r = readahead(fd, 0, fdlength(fd));