diff options
Diffstat (limited to 'src/alf.c')
| -rw-r--r-- | src/alf.c | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -223,13 +223,15 @@ void crunch_file(const char *filename_arg) { create_header(); if(!opt_quiet) { + fputs("Crunching ", stdout); if(opt_verbose) { - printf("Crunching %s as %s", in_filename, hdr_filename); - } else { - printf("Crunching %s", hdr_filename); + safe_print_filename(in_filename, stdout); + fputs(" as ", stdout); } - fflush(stdout); + safe_print_filename(hdr_filename, stdout); + if(!opt_verbose) putchar('\n'); + fflush(stdout); } /* crunches the entire input to memory! */ |
