aboutsummaryrefslogtreecommitdiff
path: root/src/alf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alf.c')
-rw-r--r--src/alf.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/alf.c b/src/alf.c
index 8eadccd..f0911b7 100644
--- a/src/alf.c
+++ b/src/alf.c
@@ -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! */