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/cmp.c | |
parent | f0ed376eda5d5c25d270e5100a881fb2d801bee6 (diff) | |
download | busybox-ddec5af6b0803c7434a1cc2fdee5cb9873fe6bd0.zip busybox-ddec5af6b0803c7434a1cc2fdee5cb9873fe6bd0.tar.gz |
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 2b923c8..71007ea 100644 --- a/coreutils/cmp.c +++ b/coreutils/cmp.c @@ -27,10 +27,9 @@ static FILE *cmp_xfopen_input(const char * const filename) { FILE *fp; - if ((fp = bb_wfopen_input(filename)) != NULL) { + fp = fopen_or_warn_stdin(filename); + if (fp) return fp; - } - exit(xfunc_error_retval); /* We already output an error message. */ } |