summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/stats-mode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stats-mode.c b/src/stats-mode.c
index ee9b3fd..20efc95 100644
--- a/src/stats-mode.c
+++ b/src/stats-mode.c
@@ -62,7 +62,7 @@ static void kill_stats()
cache_destroy(STATE_STATS(cache));
/* flush the buffer before exiting */
if (STATE(stats_log) != NULL)
- buffer_flush(STATE(stats_log),
+ buffer_flush(STATE_STATS(buffer_log),
dlog_buffered_ct_flush,
STATE(stats_log));
}