You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2015/04/05 01:42:18 UTC
trafficserver git commit: TS-3468: fix format string warning
Repository: trafficserver
Updated Branches:
refs/heads/master edf29f3e2 -> 877d21b7f
TS-3468: fix format string warning
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/877d21b7
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/877d21b7
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/877d21b7
Branch: refs/heads/master
Commit: 877d21b7f21792f94cf9e09bd90768d015b30451
Parents: edf29f3
Author: James Peach <jp...@apache.org>
Authored: Sat Apr 4 16:42:16 2015 -0700
Committer: James Peach <jp...@apache.org>
Committed: Sat Apr 4 16:42:16 2015 -0700
----------------------------------------------------------------------
iocore/cache/CacheDir.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/877d21b7/iocore/cache/CacheDir.cc
----------------------------------------------------------------------
diff --git a/iocore/cache/CacheDir.cc b/iocore/cache/CacheDir.cc
index 705fa09..ec2de8f 100644
--- a/iocore/cache/CacheDir.cc
+++ b/iocore/cache/CacheDir.cc
@@ -1313,7 +1313,7 @@ int Vol::dir_check(bool /* fix ATS_UNUSED */) // TODO: we should eliminate this
if (chain_mark[e_idx] == mark) {
printf(" - Cycle of length %d detected for bucket %d\n", h, b);
} else if (chain_mark[e_idx] >= 0) {
- printf(" - Entry %" PRIu64 " is in chain %d and %d", e - seg, chain_mark[e_idx], mark);
+ printf(" - Entry %d is in chain %d and %d", e_idx, chain_mark[e_idx], mark);
} else {
chain_mark[e_idx] = mark;
}