aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2017-07-24 14:35:42 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2017-07-24 14:35:42 -0700
commit84122c47b6274e71082e5b4bbc50289c096bb761 (patch)
treea6fdf43727811bc9d066bcfaaf11e25f3e051a0b
parentf064af3dbffa51c89caca09fb5e6ceee97d224b4 (diff)
Fix wrong logging of LB policy addresses
-rw-r--r--src/core/ext/filters/client_channel/lb_policy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ext/filters/client_channel/lb_policy.c b/src/core/ext/filters/client_channel/lb_policy.c
index 10b032214b..dd95a135cf 100644
--- a/src/core/ext/filters/client_channel/lb_policy.c
+++ b/src/core/ext/filters/client_channel/lb_policy.c
@@ -54,7 +54,7 @@ static gpr_atm ref_mutate(grpc_lb_policy *c, gpr_atm delta,
#ifndef NDEBUG
if (GRPC_TRACER_ON(grpc_trace_lb_policy_refcount)) {
gpr_log(file, line, GPR_LOG_SEVERITY_DEBUG,
- "LB_POLICY: 0x%p %12s 0x%" PRIxPTR " -> 0x%" PRIxPTR " [%s]", c,
+ "LB_POLICY: %p %12s 0x%" PRIxPTR " -> 0x%" PRIxPTR " [%s]", c,
purpose, old_val, old_val + delta, reason);
}
#endif