diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/filename.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c index 8ef2eef96a..de4fef5189 100644 --- a/source3/smbd/filename.c +++ b/source3/smbd/filename.c @@ -96,7 +96,7 @@ static int global_stat_cache_hits; void print_stat_cache_statistics(void) { - double eff = ((double)global_stat_cache_lookups/100.0)*(double)global_stat_cache_hits; + double eff = (100.0* (double)global_stat_cache_hits)/(double)global_stat_cache_lookups; DEBUG(0,("stat cache stats: lookups = %d, hits = %d, misses = %d, \ stat cache was %f%% effective.\n", global_stat_cache_lookups, |