aboutsummaryrefslogtreecommitdiff
path: root/src/indexamajig.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r--src/indexamajig.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index 2bdeef53..cebdf9e3 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -676,7 +676,8 @@ int main(int argc, char *argv[])
for ( i=0; i<argc; i++ ) {
fprintf(ofh, " %s", argv[i]);
}
- printf("\n");
+ fprintf(ofh, "\n");
+ fflush(ofh);
/* Get first filename and use it to set up the indexing */
rval = fgets(prepare_line, 1023, fh);