]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
store_swap_size/Mgr::InfoActionData::store_swap_size are in Kb
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Wed, 19 Jan 2011 10:23:18 +0000 (12:23 +0200)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Wed, 19 Jan 2011 10:23:18 +0000 (12:23 +0200)
src/stat.cc

index bcb28cbe72df7adba0e54e3fd0262c2a7990a112..9ad3d0913df700949963ee029673db09827c214b 100644 (file)
@@ -749,7 +749,7 @@ DumpInfo(Mgr::InfoActionData& stats, StoreEntry* sentry)
                       stats.request_hit_disk_ratio60 / fct);
 
     storeAppendPrintf(sentry, "\tStorage Swap size:\t%.0f KB\n",
-                      stats.store_swap_size / 1024);
+                      stats.store_swap_size);
 
     storeAppendPrintf(sentry, "\tStorage Swap capacity:\t%4.1f%% used, %4.1f%% free\n",
                       Math::doublePercent(stats.store_swap_size, stats.store_swap_max_size),