tip->vfp is only initialised when verbose > 1, so we must only use it under the same circumstance. -- Joshua Root, jmr AT gelato.unsw.edu.au http://www.gelato.unsw.edu.au
btreplay/btreplay.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/btreplay/btreplay.c b/btreplay/btreplay.c index 89881cb..1808b35 100644 --- a/btreplay/btreplay.c +++ b/btreplay/btreplay.c @@ -1327,7 +1327,7 @@ static void *replay_sub(void *arg) set_replay_ready(); while (!is_send_done(tip) && tip->iterations--) { wait_iter_start(); - if (verbose) + if (verbose > 1) fprintf(tip->vfp, "\n=== %d ===\n", tip->iterations); while (!is_send_done(tip) && next_bunch(tip, &bunch)) process_bunch(tip, &bunch);