]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
oops, divide by days
authorwessels <>
Sun, 19 Jan 1997 15:16:14 +0000 (15:16 +0000)
committerwessels <>
Sun, 19 Jan 1997 15:16:14 +0000 (15:16 +0000)
src/stat.cc

index a9fdb2b22aac9fbad6cc7fd4609ea533fc868e3b..7de942157a428804df757d4617175dfd9881610f 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: stat.cc,v 1.119 1997/01/19 08:14:07 wessels Exp $
+ * $Id: stat.cc,v 1.120 1997/01/19 08:16:14 wessels Exp $
  *
  * DEBUG: section 18    Cache Manager Statistics
  * AUTHOR: Harvest Derived
@@ -762,7 +762,7 @@ info_get(const cacheinfo * obj, StoreEntry * sentry)
     storeAppendPrintf(sentry, "{\tStorage Mem size:\t%d KB}\n",
        store_mem_size >> 10);
     storeAppendPrintf(sentry, "{\tStorage LRU Expiration Age:\t%6.2f days}\n",
-       (double) storeExpiredReferenceAge());
+       (double) storeExpiredReferenceAge() / 86400.0);
 
 #if HAVE_GETRUSAGE && defined(RUSAGE_SELF)
     storeAppendPrintf(sentry, "{Resource usage for %s:}\n", appname);