aboutsummaryrefslogtreecommitdiff
path: root/cut.c
diff options
context:
space:
mode:
Diffstat (limited to 'cut.c')
-rw-r--r--cut.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cut.c b/cut.c
index 8b319962d..62f9e8731 100644
--- a/cut.c
+++ b/cut.c
@@ -234,7 +234,7 @@ extern int cut_main(int argc, char **argv)
234 for (i = optind; i < argc; i++) { 234 for (i = optind; i < argc; i++) {
235 file = fopen(argv[i], "r"); 235 file = fopen(argv[i], "r");
236 if (file == NULL) { 236 if (file == NULL) {
237 error_msg("%s: %s\n", argv[i], strerror(errno)); 237 perror_msg("%s", argv[i]);
238 } else { 238 } else {
239 cut_file(file); 239 cut_file(file);
240 fclose(file); 240 fclose(file);