diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-26 23:25:17 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-26 23:25:17 +0000 |
commit | ddec5af6b0803c7434a1cc2fdee5cb9873fe6bd0 (patch) | |
tree | f4f2aa58fa669aed6e2c50bb7aa648a79ec1873d /coreutils/cmp.c | |
parent | f0ed376eda5d5c25d270e5100a881fb2d801bee6 (diff) | |
download | busybox-w32-ddec5af6b0803c7434a1cc2fdee5cb9873fe6bd0.tar.gz busybox-w32-ddec5af6b0803c7434a1cc2fdee5cb9873fe6bd0.tar.bz2 busybox-w32-ddec5af6b0803c7434a1cc2fdee5cb9873fe6bd0.zip |
rename functions to more understandable names
Diffstat (limited to 'coreutils/cmp.c')
-rw-r--r-- | coreutils/cmp.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/coreutils/cmp.c b/coreutils/cmp.c index 2b923c845..71007eac1 100644 --- a/coreutils/cmp.c +++ b/coreutils/cmp.c | |||
@@ -27,10 +27,9 @@ static FILE *cmp_xfopen_input(const char * const filename) | |||
27 | { | 27 | { |
28 | FILE *fp; | 28 | FILE *fp; |
29 | 29 | ||
30 | if ((fp = bb_wfopen_input(filename)) != NULL) { | 30 | fp = fopen_or_warn_stdin(filename); |
31 | if (fp) | ||
31 | return fp; | 32 | return fp; |
32 | } | ||
33 | |||
34 | exit(xfunc_error_retval); /* We already output an error message. */ | 33 | exit(xfunc_error_retval); /* We already output an error message. */ |
35 | } | 34 | } |
36 | 35 | ||