Adjust print format in posix_endpoint.cc (#31576)

pull/31577/head
Vignesh Babu 2 years ago committed by GitHub
parent 40ec6850d7
commit 6be14f41b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      src/core/lib/event_engine/posix_engine/posix_endpoint.cc

@ -929,8 +929,9 @@ bool PosixEndpointImpl::DoFlushZerocopy(TcpZerocopySendRecord* record,
"Tx0cp encountered an ENOBUFS error possibly because one or "
"both of RLIMIT_MEMLOCK or hard memlock ulimit values are too "
"small for the intended user. Current system value of "
"RLIMIT_MEMLOCK is %lu and hard memlock ulimit is %lu. Consider "
"increasing these values appropriately for the intended user.",
"RLIMIT_MEMLOCK is %" PRIu64 " and hard memlock ulimit is %" PRIu64
".Consider increasing these values appropriately for the intended "
"user.",
GetRLimitMemLockMax(), GetUlimitHardMemLock());
#endif
}
@ -1201,7 +1202,7 @@ PosixEndpointImpl::PosixEndpointImpl(EventHandle* handle,
if (zerocopy_enabled) {
gpr_log(GPR_INFO,
"Tx-zero copy enabled for gRPC sends. RLIMIT_MEMLOCK value = "
"%lu, ulimit hard memlock value = %lu",
"%" PRIu64 ",ulimit hard memlock value = %" PRIu64,
GetRLimitMemLockMax(), GetUlimitHardMemLock());
}
}

Loading…
Cancel
Save