diff options
author | Jakob Kaivo <jkk@ung.org> | 2019-11-25 13:41:19 -0500 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2019-11-25 13:41:19 -0500 |
commit | c5f5c1e1e0e7e01c64e7caa7b13dd396f372838f (patch) | |
tree | 1dfb19942090c00131587f79ebd3b122c170fbce | |
parent | 334bc87f4de4dd31399304a22102cc59ca63b79f (diff) |
remove unnecessary text from error message
-rw-r--r-- | wc.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -89,8 +89,7 @@ static int wc(char *path, int flags) if (path && strcmp(path, "-") != 0) { f = fopen(path, "r"); if (f == NULL) { - fprintf(stderr, "wc:couldn't open %s:%s\n", path, - strerror(errno)); + fprintf(stderr, "wc: %s: %s\n", path, strerror(errno)); return 1; } } |