[Lldb-commits] [lldb] 4f1c90a - [lldb] Fix format string in Communication::Write

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 9 08:56:02 PDT 2021


Author: Ryan Mansfield
Date: 2021-09-09T17:55:38+02:00
New Revision: 4f1c90a6d4dde9e3c6d3c7d76bb187c1c19960d5

URL: https://github.com/llvm/llvm-project/commit/4f1c90a6d4dde9e3c6d3c7d76bb187c1c19960d5
DIFF: https://github.com/llvm/llvm-project/commit/4f1c90a6d4dde9e3c6d3c7d76bb187c1c19960d5.diff

LOG: [lldb] Fix format string in Communication::Write

Reviewed By: teemperor

Differential Revision: https://reviews.llvm.org/D109508

Added: 
    

Modified: 
    lldb/source/Core/Communication.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Core/Communication.cpp b/lldb/source/Core/Communication.cpp
index 5640e0510cf1c..fd20b58d18b48 100644
--- a/lldb/source/Core/Communication.cpp
+++ b/lldb/source/Core/Communication.cpp
@@ -176,8 +176,8 @@ size_t Communication::Write(const void *src, size_t src_len,
 
   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)


        


More information about the lldb-commits mailing list