From 09b074f88d597ecab10efdecd16c019ac3d25e49 Mon Sep 17 00:00:00 2001 From: AJ Heller Date: Thu, 16 Nov 2023 23:32:08 +0000 Subject: [PATCH] fix format string --- .../event_engine/posix_engine/posix_engine_listener_utils.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc b/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc index 548fc5a2178..7dd7d61eb36 100644 --- a/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc +++ b/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) {