From 7ebe2a139ee0244180ad03ede263fb2c67065744 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 21 Jan 2003 08:42:28 +0100 Subject: [PATCH] make sure we display the max cache size correctly with the new default cache size code. hack hack. --- stats.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/stats.c b/stats.c index bfe5ec9e6..35e73ffc1 100644 --- a/stats.c +++ b/stats.c @@ -222,6 +222,12 @@ void stats_summary(void) stats_read(fname, counters); free(fname); + + /* oh what a nasty hack ... */ + if (dir == -1) { + counters[STATS_MAXSIZE] = 0; + } + } /* and display them */ -- 2.47.2