aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Dan Zhang <danzh@google.com>2018-01-11 13:06:38 -0500
committerGravatar Dan Zhang <danzh@google.com>2018-01-11 13:06:38 -0500
commite2a6ca835c5163075a11f0c1e78fb98378298eb7 (patch)
tree073628db17c605cd3f7dcec37464674cecc330b6 /src
parent3742b724c9deac411b51dfc7b1ac6818f61550e3 (diff)
%zd->%d
Diffstat (limited to 'src')
-rw-r--r--src/core/lib/iomgr/udp_server.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lib/iomgr/udp_server.cc b/src/core/lib/iomgr/udp_server.cc
index a9a3f3aba5..ec3b88d911 100644
--- a/src/core/lib/iomgr/udp_server.cc
+++ b/src/core/lib/iomgr/udp_server.cc
@@ -329,13 +329,13 @@ static int prepare_socket(grpc_socket_factory* socket_factory, int fd,
}
if (grpc_set_socket_sndbuf(fd, snd_buf_size) != GRPC_ERROR_NONE) {
- gpr_log(GPR_ERROR, "Failed to set send buffer size to %zd bytes",
+ gpr_log(GPR_ERROR, "Failed to set send buffer size to %d bytes",
snd_buf_size);
goto error;
}
if (grpc_set_socket_rcvbuf(fd, rcv_buf_size) != GRPC_ERROR_NONE) {
- gpr_log(GPR_ERROR, "Failed to set receive buffer size to %zd bytes",
+ gpr_log(GPR_ERROR, "Failed to set receive buffer size to %d bytes",
rcv_buf_size);
goto error;
}