diff options
| -rw-r--r-- | src/alf.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -226,8 +226,6 @@ void crunch_file(const char *filename_arg) { this avoids leaving 0-byte turds */ if(!out_file) { if(!opt_overwrite) make_backup(); - if(opt_append && opt_verbose > 1) - printf(" (appending to %s) ", out_filename); out_file = fopen(out_filename, opt_append ? "ab" : "wb"); if(!out_file) { fprintf(stderr, "%s: fatal: ", self); @@ -238,7 +236,7 @@ void crunch_file(const char *filename_arg) { if(fwrite(output_buf, 1, output_len, out_file) < 0) { fprintf(stderr, "%s: fatal: ", self); - perror("write error"); + perror(out_filename); exit(1); } |
