~ubuntu-branches/ubuntu/oneiric/squid3/oneiric-security

« back to all changes in this revision

Viewing changes to src/fs/coss/store_dir_coss.cc

  • Committer: Bazaar Package Importer
  • Author(s): Mahyuddin Susanto
  • Date: 2011-02-15 18:46:13 UTC
  • mfrom: (21.2.4 sid)
  • Revision ID: james.westby@ubuntu.com-20110215184613-1u3dh5sz4i055flk
Tags: 3.1.10-1ubuntu1
* Merge from debian unstable. (LP: #719283)  Remaining changes:
  - debian/patches/18-fix-ftbfs-binutils-gold.dpatch: Add library linker into
    LIBS instead to LDFLAGS to fixing FTBFS binutils-gold.
* Drop Ubuntu configuration for ufw which landed in Debian and sync it: 
  - debian/squid3.ufw.profile.

Show diffs side-by-side

added added

removed removed

Lines of Context:
996
996
CossSwapDir::statfs(StoreEntry & sentry) const
997
997
{
998
998
    storeAppendPrintf(&sentry, "\n");
999
 
    storeAppendPrintf(&sentry, "Maximum Size: %d KB\n", max_size);
1000
 
    storeAppendPrintf(&sentry, "Current Size: %d KB\n", cur_size);
 
999
    storeAppendPrintf(&sentry, "Maximum Size: %"PRIu64" KB\n", max_size);
 
1000
    storeAppendPrintf(&sentry, "Current Size: %"PRIu64" KB\n", cur_size);
1001
1001
    storeAppendPrintf(&sentry, "Percent Used: %0.2f%%\n",
1002
 
                      100.0 * cur_size / max_size);
 
1002
                      (100.0 * (double)cur_size / (double)max_size) );
1003
1003
    storeAppendPrintf(&sentry, "Number of object collisions: %d\n", (int) numcollisions);
1004
1004
#if 0
1005
1005
    /* is this applicable? I Hope not .. */
1095
1095
void
1096
1096
CossSwapDir::dump(StoreEntry &entry)const
1097
1097
{
1098
 
    storeAppendPrintf(&entry, " %d", max_size >> 10);
 
1098
    storeAppendPrintf(&entry, " %"PRIu64"", (max_size >> 10));
1099
1099
    dumpOptions(&entry);
1100
1100
}
1101
1101