diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-27 03:25:17 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-27 03:25:17 +0400 |
commit | ddec5af6b0803c7434a1cc2fdee5cb9873fe6bd0 (patch) | |
tree | f4f2aa58fa669aed6e2c50bb7aa648a79ec1873d /coreutils/cat.c | |
parent | f0ed376eda5d5c25d270e5100a881fb2d801bee6 (diff) |
rename functions to more understandable names
Diffstat (limited to 'coreutils/cat.c')
-rw-r--r-- | coreutils/cat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/cat.c b/coreutils/cat.c index 10eb29c4d..a95980552 100644 --- a/coreutils/cat.c +++ b/coreutils/cat.c @@ -26,10 +26,10 @@ int cat_main(int argc, char **argv) } do { - f = bb_wfopen_input(*argv); + f = fopen_or_warn_stdin(*argv); if (f) { off_t r = bb_copyfd_eof(fileno(f), STDOUT_FILENO); - bb_fclose_nonstdin(f); + fclose_if_not_stdin(f); if (r >= 0) { continue; } |