diff options
author | Denis Vlasenko | 2006-10-26 23:25:17 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-10-26 23:25:17 +0000 |
commit | ddec5af6b0803c7434a1cc2fdee5cb9873fe6bd0 (patch) | |
tree | f4f2aa58fa669aed6e2c50bb7aa648a79ec1873d /coreutils/head.c | |
parent | f0ed376eda5d5c25d270e5100a881fb2d801bee6 (diff) | |
download | busybox-ddec5af6b0803c7434a1cc2fdee5cb9873fe6bd0.zip busybox-ddec5af6b0803c7434a1cc2fdee5cb9873fe6bd0.tar.gz |
rename functions to more understandable names
Diffstat (limited to 'coreutils/head.c')
-rw-r--r-- | coreutils/head.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/head.c b/coreutils/head.c index 2e9000d..d732461 100644 --- a/coreutils/head.c +++ b/coreutils/head.c @@ -112,7 +112,7 @@ int head_main(int argc, char **argv) #endif do { - fp = bb_wfopen_input(*argv); + fp = fopen_or_warn_stdin(*argv); if (fp) { if (fp == stdin) { *argv = (char *) bb_msg_standard_input; @@ -127,7 +127,7 @@ int head_main(int argc, char **argv) } putchar(c); } - if (bb_fclose_nonstdin(fp)) { + if (fclose_if_not_stdin(fp)) { bb_perror_msg("%s", *argv); /* Avoid multibyte problems. */ retval = EXIT_FAILURE; } |