commit | 5ae166813f8a6db9784e75c9b3843e1e30a7465f | [log] [tgz] |
---|---|---|
author | Mark Whitley <markw@lineo.com> | Wed Aug 02 18:34:41 2000 +0000 |
committer | Mark Whitley <markw@lineo.com> | Wed Aug 02 18:34:41 2000 +0000 |
tree | 385e9c8d01bdf449daf5a199f1df3bdbdccf0069 | |
parent | 807f0fd637ecc25e60c81e41ad969c177c7df327 [diff] [blame] |
Minor cleanup thingy. fprintf(stderr, ...) -> errorMsg().
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 @@ 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);