diff options
Diffstat (limited to 'sed.c')
-rw-r--r-- | sed.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -757,7 +757,7 @@ extern int sed_main(int argc, char **argv) for (i = optind; i < argc; i++) { file = fopen(argv[i], "r"); if (file == NULL) { - error_msg("%s: %s\n", argv[i], strerror(errno)); + perror_msg("%s", argv[i]); } else { process_file(file); fclose(file); |