]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fixed compiler warnings about wrong printf() format for currentSize().
authorAlex Rousskov <rousskov@measurement-factory.com>
Tue, 19 Apr 2011 22:35:32 +0000 (16:35 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Tue, 19 Apr 2011 22:35:32 +0000 (16:35 -0600)
src/store_dir.cc

index 922bb7d786edc0ba1bcbc1bcc357df86a3ef3179..39f92ab9e2c9f8a0271afff9c445dafb39551e9c 100644 (file)
@@ -349,7 +349,7 @@ StoreController::stat(StoreEntry &output) const
                       (unsigned long int)StoreEntry::inUseCount());
     storeAppendPrintf(&output, "Maximum Swap Size      : %"PRIu64" KB\n",
                       maxSize());
-    storeAppendPrintf(&output, "Current Store Swap Size: %8lu KB\n",
+    storeAppendPrintf(&output, "Current Store Swap Size: %"PRIu64" KB\n",
                       currentSize());
     storeAppendPrintf(&output, "Current Capacity       : %"PRId64"%% used, %"PRId64"%% free\n",
                       Math::int64Percent(currentSize(), maxSize()),