Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cut.c
diff options
context:
space:
mode:
authorMark Whitley <markw@lineo.com>2000-08-02 22:34:41 +0400
committerMark Whitley <markw@lineo.com>2000-08-02 22:34:41 +0400
commit5ae166813f8a6db9784e75c9b3843e1e30a7465f (patch)
tree385e9c8d01bdf449daf5a199f1df3bdbdccf0069 /cut.c
parent807f0fd637ecc25e60c81e41ad969c177c7df327 (diff)
Minor cleanup thingy. fprintf(stderr, ...) -> errorMsg().
Diffstat (limited to 'cut.c')
-rw-r--r--cut.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cut.c b/cut.c
index e90a0e2e9..fec52d3d4 100644
--- a/cut.c
+++ b/cut.c
@@ -220,8 +220,7 @@ extern int cut_main(int argc, char **argv)
for (i = optind; i < argc; i++) {
file = fopen(argv[i], "r");
if (file == NULL) {
- /* errorMsg("%s: %s\n", argv[i], strerror(errno)); */
- fprintf(stderr, "%s: %s\n", argv[i], strerror(errno));
+ errorMsg("%s: %s\n", argv[i], strerror(errno));
} else {
cut_file(file);
fclose(file);