Skip to content

Commit

Permalink
Fixing grp_log format error.
Browse files Browse the repository at this point in the history
  • Loading branch information
donnadionne committed Apr 20, 2020
1 parent 7cb9d43 commit b43194c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/ext/filters/client_channel/xds/xds_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,7 @@ void XdsClient::ChannelState::AdsCallState::AcceptLdsUpdate(
? lds_update->route_config_name.c_str()
: "<inlined>"));
if (lds_update->rds_update.has_value()) {
gpr_log(GPR_INFO, " RouteConfiguration contains %lu routes",
gpr_log(GPR_INFO, " RouteConfiguration contains %" PRIuPTR " routes",
lds_update->rds_update.value().routes.size());
for (const auto& route : lds_update->rds_update.value().routes) {
gpr_log(GPR_INFO,
Expand Down Expand Up @@ -966,7 +966,7 @@ void XdsClient::ChannelState::AdsCallState::AcceptRdsUpdate(
if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_client_trace)) {
gpr_log(GPR_INFO,
"[xds_client %p] RDS update received; RouteConfiguration contains "
"%lu routes",
"%" PRIuPTR " routes",
this, rds_update.value().routes.size());
for (const auto& route : rds_update.value().routes) {
gpr_log(GPR_INFO,
Expand Down

0 comments on commit b43194c

Please sign in to comment.