Repository: trafficserver Updated Branches: refs/heads/master 004577b7a -> 70823455f
TS-3116: Add support for tracking the use of the ioBuffers Changed %lld to %PRId64 Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/70823455 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/70823455 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/70823455 Branch: refs/heads/master Commit: 70823455f377be56a8eff9723c2d8b6995b7e3f9 Parents: 004577b Author: Bryan Call <[email protected]> Authored: Tue Oct 7 16:57:07 2014 -0700 Committer: Bryan Call <[email protected]> Committed: Tue Oct 7 16:57:07 2014 -0700 ---------------------------------------------------------------------- lib/ts/ink_resource.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/70823455/lib/ts/ink_resource.cc ---------------------------------------------------------------------- diff --git a/lib/ts/ink_resource.cc b/lib/ts/ink_resource.cc index 5a6a028..f0fc983 100644 --- a/lib/ts/ink_resource.cc +++ b/lib/ts/ink_resource.cc @@ -92,10 +92,10 @@ ResourceTracker::dump(FILE *fd) { for (std::map<const char*, Resource*>::const_iterator it = _resourceMap.begin(); it != _resourceMap.end(); ++it) { const Resource &resource = *it->second; - fprintf(fd, "%50s | %20lld\n", it->first, resource.getValue()); + fprintf(fd, "%50s | %20" PRId64 "\n", it->first, resource.getValue()); total += resource.getValue(); } } ink_mutex_release(&resourceLock); - fprintf(fd, "%50s | %20lld\n", "TOTAL", total); + fprintf(fd, "%50s | %20" PRId64 "\n", "TOTAL", total); }
