aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/alf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/alf.c b/src/alf.c
index 0d150bd..c3e721c 100644
--- a/src/alf.c
+++ b/src/alf.c
@@ -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);
}