summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/cut.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/coreutils/cut.c b/coreutils/cut.c
index e90a0e2..fec52d3 100644
--- a/coreutils/cut.c
+++ b/coreutils/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);