[Lldb-commits] [PATCH] D109508: [lldb] Fix format string in Communication::Write

Ryan Mansfield via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 9 07:15:23 PDT 2021


rmansfield created this revision.
rmansfield added a reviewer: JDevlieghere.
rmansfield added a project: LLDB.
rmansfield requested review of this revision.
Herald added a subscriber: lldb-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D109508

Files:
  lldb/source/Core/Communication.cpp


Index: lldb/source/Core/Communication.cpp
===================================================================
--- lldb/source/Core/Communication.cpp
+++ lldb/source/Core/Communication.cpp
@@ -176,8 +176,8 @@
 
   std::lock_guard<std::mutex> guard(m_write_mutex);
   LLDB_LOG(lldb_private::GetLogIfAllCategoriesSet(LIBLLDB_LOG_COMMUNICATION),
-           "{0} Communication::Write (src = {1}, src_len = %" PRIu64
-           ") connection = {2}",
+           "{0} Communication::Write (src = {1}, src_len = {2}"
+           ") connection = {3}",
            this, src, (uint64_t)src_len, connection_sp.get());
 
   if (connection_sp)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109508.371586.patch
Type: text/x-patch
Size: 633 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20210909/2b41f32a/attachment.bin>


More information about the lldb-commits mailing list