summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-12-18 16:22:27 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-12-18 16:22:27 +0000
commit4b541185e535255992876e595e6765f6070e94aa (patch)
tree2ac67a25cb44496ea1720d984a5463e635c1ca3a
parent9fdf363fe14283088134797ba5e90fb5d1c55390 (diff)
downloadmana-4b541185e535255992876e595e6765f6070e94aa.tar.gz
mana-4b541185e535255992876e595e6765f6070e94aa.tar.bz2
mana-4b541185e535255992876e595e6765f6070e94aa.tar.xz
mana-4b541185e535255992876e595e6765f6070e94aa.zip
Small fix to the displayed obsolete data percentage.
-rw-r--r--tools/upalyzer/analyze.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/upalyzer/analyze.php b/tools/upalyzer/analyze.php
index 71ed51a5..57057ad5 100644
--- a/tools/upalyzer/analyze.php
+++ b/tools/upalyzer/analyze.php
@@ -116,7 +116,7 @@ printf("Amount of data: %4d kb\n", $data_size / 1024);
printf("Uncompressed: %4d kb\n", $data_uncompressed_size / 1024);
printf("Obsoleted data: %4d kb (%d%%)\n",
($data_size - $data_used_size) / 1024,
- ($data_used_size / $data_size) * 100);
+ 100 - ($data_used_size / $data_size) * 100);
/*
if ($dh = opendir('.')) {