diff options
author | Mark Whitley <markw@lineo.com> | 2000-08-02 18:34:41 +0000 |
---|---|---|
committer | Mark Whitley <markw@lineo.com> | 2000-08-02 18:34:41 +0000 |
commit | 5ae166813f8a6db9784e75c9b3843e1e30a7465f (patch) | |
tree | 385e9c8d01bdf449daf5a199f1df3bdbdccf0069 /coreutils/cut.c | |
parent | 807f0fd637ecc25e60c81e41ad969c177c7df327 (diff) | |
download | busybox-w32-5ae166813f8a6db9784e75c9b3843e1e30a7465f.tar.gz busybox-w32-5ae166813f8a6db9784e75c9b3843e1e30a7465f.tar.bz2 busybox-w32-5ae166813f8a6db9784e75c9b3843e1e30a7465f.zip |
Minor cleanup thingy. fprintf(stderr, ...) -> errorMsg().
Diffstat (limited to 'coreutils/cut.c')
-rw-r--r-- | coreutils/cut.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/coreutils/cut.c b/coreutils/cut.c index e90a0e2e9..fec52d3d4 100644 --- a/coreutils/cut.c +++ b/coreutils/cut.c | |||
@@ -220,8 +220,7 @@ extern int cut_main(int argc, char **argv) | |||
220 | for (i = optind; i < argc; i++) { | 220 | for (i = optind; i < argc; i++) { |
221 | file = fopen(argv[i], "r"); | 221 | file = fopen(argv[i], "r"); |
222 | if (file == NULL) { | 222 | if (file == NULL) { |
223 | /* errorMsg("%s: %s\n", argv[i], strerror(errno)); */ | 223 | errorMsg("%s: %s\n", argv[i], strerror(errno)); |
224 | fprintf(stderr, "%s: %s\n", argv[i], strerror(errno)); | ||
225 | } else { | 224 | } else { |
226 | cut_file(file); | 225 | cut_file(file); |
227 | fclose(file); | 226 | fclose(file); |