fix format string

pull/35004/head
AJ Heller 1 year ago
parent 78e56df360
commit 09b074f88d
  1. 4
      src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc

@ -186,8 +186,8 @@ absl::Status PrepareSocket(const PosixTcpOptions& options,
}
sockaddr_str = absl::StrReplaceAll(*sockaddr_str, {{"\0", "@"}});
return absl::FailedPreconditionError(
absl::StrCat("Error in bind for address '%s': ", *sockaddr_str,
std::strerror(errno)));
absl::StrCat("Error in bind for address '", *sockaddr_str,
"': ", std::strerror(errno)));
}
if (listen(fd, GetMaxAcceptQueueSize()) < 0) {

Loading…
Cancel
Save